Searched refs:bufix (Results 1 – 2 of 2) sorted by relevance
95 int *bufix) in assemble_hw_header() argument109 *bufix += ETHER_HEADER_SIZE; in assemble_hw_header()132 memcpy(&buf[*bufix], &ip, sizeof(ip)); in assemble_udp_ip_header()133 *bufix += sizeof(ip); in assemble_udp_ip_header()145 memcpy(&buf[*bufix], &udp, sizeof(udp)); in assemble_udp_ip_header()146 *bufix += sizeof(udp); in assemble_udp_ip_header()154 memcpy(&eh, buf + bufix, ETHER_HEADER_SIZE); in decode_hw_header()169 u_int32_t ip_len = (buf[bufix] & 0xf) << 2; in decode_udp_ip_header()179 ip = (struct ip *)(buf + bufix); in decode_udp_ip_header()210 if (len + data > buf + bufix + buflen) { in decode_udp_ip_header()[all …]
499 &buffer[bufix], option_size - bufix); in cons_options()508 bufix += DHCP_FILE_LEN; in cons_options()513 &buffer[bufix], option_size - bufix); in cons_options()587 optstart = bufix; in store_options()596 if (bufix < first_cutoff && in store_options()608 bufix = optstart; in store_options()613 buffer[bufix] = code; in store_options()614 buffer[bufix + 1] = incr; in store_options()616 memcpy(buffer + bufix + 2, in store_options()624 bufix += 2 + incr; in store_options()[all …]