Home
last modified time | relevance | path

Searched refs:bufix (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sbin/dhclient/
H A Dpacket.c93 int *bufix) in assemble_hw_header() argument
107 *bufix += ETHER_HEADER_SIZE; in assemble_hw_header()
130 memcpy(&buf[*bufix], &ip, sizeof(ip)); in assemble_udp_ip_header()
131 *bufix += sizeof(ip); in assemble_udp_ip_header()
143 memcpy(&buf[*bufix], &udp, sizeof(udp)); in assemble_udp_ip_header()
144 *bufix += sizeof(udp); in assemble_udp_ip_header()
152 memcpy(&eh, buf + bufix, ETHER_HEADER_SIZE); in decode_hw_header()
168 u_int32_t ip_len = (buf[bufix] & 0xf) << 2; in decode_udp_ip_header()
178 ip = (struct ip *)(buf + bufix); in decode_udp_ip_header()
209 if (len + data > buf + bufix + buflen) { in decode_udp_ip_header()
[all …]
H A Doptions.c497 &buffer[bufix], option_size - bufix); in cons_options()
506 bufix += DHCP_FILE_LEN; in cons_options()
511 &buffer[bufix], option_size - bufix); in cons_options()
585 optstart = bufix; in store_options()
594 if (bufix < first_cutoff && in store_options()
606 bufix = optstart; in store_options()
611 buffer[bufix] = code; in store_options()
612 buffer[bufix + 1] = incr; in store_options()
614 memcpy(buffer + bufix + 2, in store_options()
622 bufix += 2 + incr; in store_options()
[all …]