| /netbsd-src/external/mpl/dhcp/dist/common/ |
| H A D | packet.c | 107 void assemble_hw_header (interface, buf, bufix, to) in assemble_hw_header() argument 110 unsigned *bufix; 116 assemble_tr_header(interface, buf, bufix, to); 121 assemble_fddi_header(interface, buf, bufix, to); 129 assemble_ethernet_header(interface, buf, bufix, to); 136 void assemble_udp_ip_header (interface, buf, bufix, in assemble_udp_ip_header() argument 140 unsigned *bufix; 169 memcpy (&buf [*bufix], &ip, sizeof ip); 170 *bufix += sizeof ip; 198 memcpy (&buf [*bufix], &udp, sizeof udp); [all …]
|
| H A D | fddi.c | 47 void assemble_fddi_header (interface, buf, bufix, to) in assemble_fddi_header() argument 50 unsigned *bufix; 62 memcpy (&buf [*bufix], &fh, sizeof fh); 63 *bufix += sizeof fh; 69 memcpy (&buf [*bufix], &lh, LLC_SNAP_LEN); 70 *bufix += LLC_SNAP_LEN; 77 ssize_t decode_fddi_header (interface, buf, bufix, from) in decode_fddi_header() argument 80 unsigned bufix;
|
| H A D | ethernet.c | 43 void assemble_ethernet_header (interface, buf, bufix, to) in assemble_ethernet_header() argument 46 unsigned *bufix; 64 memcpy (&buf [*bufix], &eh, ETHER_HEADER_SIZE); 65 *bufix += ETHER_HEADER_SIZE; 72 ssize_t decode_ethernet_header (interface, buf, bufix, from) in decode_ethernet_header() argument 75 unsigned bufix; 80 memcpy (&eh, buf + bufix, ETHER_HEADER_SIZE);
|
| H A D | tr.c | 72 void assemble_tr_header (interface, buf, bufix, to) in assemble_tr_header() argument 75 unsigned *bufix; 84 trh = (struct trh_hdr *) &buf[*bufix]; 102 llc = (struct trllc *)(buf + *bufix + hdr_len); 113 *bufix += hdr_len; 125 ssize_t decode_tr_header (interface, buf, bufix, from) in decode_tr_header() argument 128 unsigned bufix; 131 struct trh_hdr *trh = (struct trh_hdr *) buf + bufix; 152 llc = (struct trllc *)(buf + bufix + sizeof(struct trh_hdr)-TR_MAXRIFLEN+route_len); 172 llc = (struct trllc *)(buf + bufix + hdr_len);
|
| H A D | upf.c | 302 int bufix = 0; local 309 bufix = sizeof (struct enstamp); 311 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 320 bufix += offset; 324 offset = decode_udp_ip_header (interface, ibuf, bufix, 331 bufix += offset; 338 memcpy (buf, &ibuf[bufix], paylen);
|
| H A D | lpf.c | 389 unsigned bufix = 0; local 460 bufix = 0; 462 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 471 bufix += offset; 475 offset = decode_udp_ip_header (interface, ibuf, bufix, from, 482 bufix += offset; 489 memcpy(buf, &ibuf[bufix], paylen);
|
| H A D | nit.c | 353 int bufix = 0; local 361 offset = decode_hw_header (interface, ibuf, bufix, hfrom); 370 bufix += offset; 374 offset = decode_udp_ip_header (interface, ibuf, bufix, 381 bufix += offset; 388 memcpy(buf, &ibuf[bufix], paylen);
|
| H A D | dlpi.c | 646 int bufix = 0; local 693 bufix = 0; 696 offset = decode_hw_header (interface, dbuf, bufix, hfrom); 704 bufix += offset; 707 offset = decode_udp_ip_header (interface, dbuf, bufix, 722 bufix += offset; 729 memcpy(buf, &dbuf [bufix], paylen);
|
| H A D | conflex.c | 193 if (cfile->bufix == cfile->buflen) { 203 c = cfile->inbuf [cfile->bufix]; 204 cfile->bufix++; 237 cfile->bufix--; in unget_char()
|
| H A D | options.c | 1257 int bufix = 0, six = 0, tix = 0; in store_options() 1521 optstart = bufix; in store_options() 1532 (bufix + 2 + length < bufend)) || in store_options() 1533 (bufix + 5 + length < bufend))) { in store_options() 1535 pix = &bufix; in store_options() 1551 if (bufix + 6 < bufend) { in store_options() 1552 incr = bufend - bufix - 5; in store_options() 1554 pix = &bufix; in store_options() 1569 bufix = optstart; in store_options() 1628 if ((six || tix) && (bufix in store_options() 1254 int bufix = 0, six = 0, tix = 0; store_options() local [all...] |
| /netbsd-src/external/mpl/dhcp/dist/keama/ |
| H A D | conflex.c | 185 if (cfile->bufix == cfile->buflen) { in get_char() 188 c = cfile->inbuf[cfile->bufix]; in get_char() 189 cfile->bufix++; in get_char() 222 cfile->bufix--; in unget_char()
|
| H A D | keama.h | 106 size_t bufix, buflen; member
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | ldap.c | 144 cfile->buflen = cfile->bufix = 0; in x_parser_init() 215 cfile->bufix = cfile->buflen = 0; in x_parser_reset() 2129 cfile->bufix = 0; in ldap_read_function() 2146 return (cfile->inbuf[cfile->bufix++]); in ldap_read_function()
|
| /netbsd-src/external/mpl/dhcp/dist/includes/ |
| H A D | dhcpd.h | 331 size_t bufix, buflen; member
|