/dports/net/isc-dhcp44-client/dhcp-4.4.2-P1/common/ |
H A D | packet.c | 105 unsigned *bufix; 111 assemble_tr_header(interface, buf, bufix, to); 116 assemble_fddi_header(interface, buf, bufix, to); 135 unsigned *bufix; 164 memcpy (&buf [*bufix], &ip, sizeof ip); 165 *bufix += sizeof ip; 193 memcpy (&buf [*bufix], &udp, sizeof udp); 194 *bufix += sizeof udp; 207 unsigned bufix; 253 unsigned char *buf, unsigned bufix, in decode_udp_ip_header() argument [all …]
|
H A D | fddi.c | 42 void assemble_fddi_header (interface, buf, bufix, to) in assemble_fddi_header() argument 45 unsigned *bufix; 57 memcpy (&buf [*bufix], &fh, sizeof fh); 58 *bufix += sizeof fh; 64 memcpy (&buf [*bufix], &lh, LLC_SNAP_LEN); 65 *bufix += LLC_SNAP_LEN; 72 ssize_t decode_fddi_header (interface, buf, bufix, from) in decode_fddi_header() argument 75 unsigned bufix;
|
H A D | ethernet.c | 38 void assemble_ethernet_header (interface, buf, bufix, to) in assemble_ethernet_header() argument 41 unsigned *bufix; 59 memcpy (&buf [*bufix], &eh, ETHER_HEADER_SIZE); 60 *bufix += ETHER_HEADER_SIZE; 67 ssize_t decode_ethernet_header (interface, buf, bufix, from) in decode_ethernet_header() argument 70 unsigned bufix; 75 memcpy (&eh, buf + bufix, ETHER_HEADER_SIZE);
|
H A D | tr.c | 67 void assemble_tr_header (interface, buf, bufix, to) in assemble_tr_header() argument 70 unsigned *bufix; 79 trh = (struct trh_hdr *) &buf[*bufix]; 97 llc = (struct trllc *)(buf + *bufix + hdr_len); 108 *bufix += hdr_len; 120 ssize_t decode_tr_header (interface, buf, bufix, from) in decode_tr_header() argument 123 unsigned bufix; 126 struct trh_hdr *trh = (struct trh_hdr *) buf + bufix; 147 llc = (struct trllc *)(buf + bufix + sizeof(struct trh_hdr)-TR_MAXRIFLEN+route_len); 167 llc = (struct trllc *)(buf + bufix + hdr_len);
|
H A D | upf.c | 297 int bufix = 0; local 304 bufix = sizeof (struct enstamp); 306 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 315 bufix += offset; 319 offset = decode_udp_ip_header (interface, ibuf, bufix, 326 bufix += offset; 333 memcpy (buf, &ibuf[bufix], paylen);
|
H A D | lpf.c | 384 unsigned bufix = 0; local 455 bufix = 0; 457 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 466 bufix += offset; 470 offset = decode_udp_ip_header (interface, ibuf, bufix, from, 477 bufix += offset; 484 memcpy(buf, &ibuf[bufix], paylen);
|
H A D | nit.c | 348 int bufix = 0; local 356 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 365 bufix += offset; 369 offset = decode_udp_ip_header (interface, ibuf, bufix, 376 bufix += offset; 383 memcpy(buf, &ibuf[bufix], paylen);
|
/dports/net/isc-dhcp44-relay/dhcp-4.4.2-P1/common/ |
H A D | packet.c | 105 unsigned *bufix; 111 assemble_tr_header(interface, buf, bufix, to); 116 assemble_fddi_header(interface, buf, bufix, to); 135 unsigned *bufix; 164 memcpy (&buf [*bufix], &ip, sizeof ip); 165 *bufix += sizeof ip; 193 memcpy (&buf [*bufix], &udp, sizeof udp); 194 *bufix += sizeof udp; 207 unsigned bufix; 253 unsigned char *buf, unsigned bufix, in decode_udp_ip_header() argument [all …]
|
H A D | fddi.c | 42 void assemble_fddi_header (interface, buf, bufix, to) in assemble_fddi_header() argument 45 unsigned *bufix; 57 memcpy (&buf [*bufix], &fh, sizeof fh); 58 *bufix += sizeof fh; 64 memcpy (&buf [*bufix], &lh, LLC_SNAP_LEN); 65 *bufix += LLC_SNAP_LEN; 72 ssize_t decode_fddi_header (interface, buf, bufix, from) in decode_fddi_header() argument 75 unsigned bufix;
|
H A D | ethernet.c | 38 void assemble_ethernet_header (interface, buf, bufix, to) in assemble_ethernet_header() argument 41 unsigned *bufix; 59 memcpy (&buf [*bufix], &eh, ETHER_HEADER_SIZE); 60 *bufix += ETHER_HEADER_SIZE; 67 ssize_t decode_ethernet_header (interface, buf, bufix, from) in decode_ethernet_header() argument 70 unsigned bufix; 75 memcpy (&eh, buf + bufix, ETHER_HEADER_SIZE);
|
H A D | tr.c | 67 void assemble_tr_header (interface, buf, bufix, to) in assemble_tr_header() argument 70 unsigned *bufix; 79 trh = (struct trh_hdr *) &buf[*bufix]; 97 llc = (struct trllc *)(buf + *bufix + hdr_len); 108 *bufix += hdr_len; 120 ssize_t decode_tr_header (interface, buf, bufix, from) in decode_tr_header() argument 123 unsigned bufix; 126 struct trh_hdr *trh = (struct trh_hdr *) buf + bufix; 147 llc = (struct trllc *)(buf + bufix + sizeof(struct trh_hdr)-TR_MAXRIFLEN+route_len); 167 llc = (struct trllc *)(buf + bufix + hdr_len);
|
H A D | upf.c | 297 int bufix = 0; local 304 bufix = sizeof (struct enstamp); 306 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 315 bufix += offset; 319 offset = decode_udp_ip_header (interface, ibuf, bufix, 326 bufix += offset; 333 memcpy (buf, &ibuf[bufix], paylen);
|
H A D | lpf.c | 384 unsigned bufix = 0; local 455 bufix = 0; 457 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 466 bufix += offset; 470 offset = decode_udp_ip_header (interface, ibuf, bufix, from, 477 bufix += offset; 484 memcpy(buf, &ibuf[bufix], paylen);
|
H A D | nit.c | 348 int bufix = 0; local 356 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 365 bufix += offset; 369 offset = decode_udp_ip_header (interface, ibuf, bufix, 376 bufix += offset; 383 memcpy(buf, &ibuf[bufix], paylen);
|
H A D | dlpi.c | 641 int bufix = 0; local 688 bufix = 0; 691 offset = decode_hw_header (interface, dbuf, bufix, hfrom); 699 bufix += offset; 702 offset = decode_udp_ip_header (interface, dbuf, bufix, 717 bufix += offset; 724 memcpy(buf, &dbuf [bufix], paylen);
|
/dports/net/isc-dhcp44-server/dhcp-4.4.2-P1/common/ |
H A D | packet.c | 105 unsigned *bufix; 111 assemble_tr_header(interface, buf, bufix, to); 116 assemble_fddi_header(interface, buf, bufix, to); 135 unsigned *bufix; 164 memcpy (&buf [*bufix], &ip, sizeof ip); 165 *bufix += sizeof ip; 193 memcpy (&buf [*bufix], &udp, sizeof udp); 194 *bufix += sizeof udp; 207 unsigned bufix; 253 unsigned char *buf, unsigned bufix, in decode_udp_ip_header() argument [all …]
|
H A D | fddi.c | 42 void assemble_fddi_header (interface, buf, bufix, to) in assemble_fddi_header() argument 45 unsigned *bufix; 57 memcpy (&buf [*bufix], &fh, sizeof fh); 58 *bufix += sizeof fh; 64 memcpy (&buf [*bufix], &lh, LLC_SNAP_LEN); 65 *bufix += LLC_SNAP_LEN; 72 ssize_t decode_fddi_header (interface, buf, bufix, from) in decode_fddi_header() argument 75 unsigned bufix;
|
H A D | ethernet.c | 38 void assemble_ethernet_header (interface, buf, bufix, to) in assemble_ethernet_header() argument 41 unsigned *bufix; 59 memcpy (&buf [*bufix], &eh, ETHER_HEADER_SIZE); 60 *bufix += ETHER_HEADER_SIZE; 67 ssize_t decode_ethernet_header (interface, buf, bufix, from) in decode_ethernet_header() argument 70 unsigned bufix; 75 memcpy (&eh, buf + bufix, ETHER_HEADER_SIZE);
|
H A D | tr.c | 67 void assemble_tr_header (interface, buf, bufix, to) in assemble_tr_header() argument 70 unsigned *bufix; 79 trh = (struct trh_hdr *) &buf[*bufix]; 97 llc = (struct trllc *)(buf + *bufix + hdr_len); 108 *bufix += hdr_len; 120 ssize_t decode_tr_header (interface, buf, bufix, from) in decode_tr_header() argument 123 unsigned bufix; 126 struct trh_hdr *trh = (struct trh_hdr *) buf + bufix; 147 llc = (struct trllc *)(buf + bufix + sizeof(struct trh_hdr)-TR_MAXRIFLEN+route_len); 167 llc = (struct trllc *)(buf + bufix + hdr_len);
|
H A D | upf.c | 297 int bufix = 0; local 304 bufix = sizeof (struct enstamp); 306 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 315 bufix += offset; 319 offset = decode_udp_ip_header (interface, ibuf, bufix, 326 bufix += offset; 333 memcpy (buf, &ibuf[bufix], paylen);
|
H A D | lpf.c | 384 unsigned bufix = 0; local 455 bufix = 0; 457 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 466 bufix += offset; 470 offset = decode_udp_ip_header (interface, ibuf, bufix, from, 477 bufix += offset; 484 memcpy(buf, &ibuf[bufix], paylen);
|
H A D | nit.c | 348 int bufix = 0; local 356 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 365 bufix += offset; 369 offset = decode_udp_ip_header (interface, ibuf, bufix, 376 bufix += offset; 383 memcpy(buf, &ibuf[bufix], paylen);
|
/dports/net/tcptrace/tcptrace-508f73a/ |
H A D | names.c | 86 static int bufix = 0; in ServiceName() local 91 port_buf = port_bufs[bufix = ((bufix+1)%NUM_PORT_BUFS)]; in ServiceName() 152 static int bufix = 0; in HostAddr() local 166 name_buf = name_bufs[bufix = ((bufix+1)%NUM_NAME_BUFS)]; in HostAddr() 189 static int bufix = 0; in HostName() local 194 name_buf = name_bufs[bufix = ((bufix+1)%NUM_NAME_BUFS)]; in HostName() 262 static int bufix = 0; in EndpointName() local 268 name_buf = name_bufs[bufix = ((bufix+1)%NUM_NAME_BUFS)]; in EndpointName()
|
H A D | plotter.c | 111 static int bufix = 0; in xp_timestamp() local 149 bufix = (bufix+1)%NUM_BUFS; in xp_timestamp() 150 pbuf = bufs[bufix]; in xp_timestamp() 152 snprintf(pbuf,sizeof(bufs[bufix]),"%u.%06u",secs,decimal); in xp_timestamp()
|
/dports/news/trn/trn-3.6/ |
H A D | util.c | 282 register int bufix = 0; local 286 if (bufix >= buffer_length) { 300 buffer[bufix++] = (char)nextch; 302 buffer[bufix] = '\0'; 303 len_last_line_got = bufix;
|