Searched refs:niplen (Results 1 – 1 of 1) sorted by relevance
1014 uint16_t oiplen, niplen; in update_ip_size() local1022 niplen = size - sizeof(struct ether_header); in update_ip_size()1023 ip.ip_len = htons(niplen); in update_ip_size()1024 nudplen = niplen - sizeof(struct ip); in update_ip_size()1026 ip_sum = new_udp_sum(ip_sum, oiplen, niplen); in update_ip_size()1051 uint16_t niplen, nudplen; in update_ip6_size() local1057 nudplen = niplen = size - sizeof(struct ether_header) - sizeof(ip6); in update_ip6_size()1058 ip6.ip6_plen = htons(niplen); in update_ip6_size()