Home
last modified time | relevance | path

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

/net/core/
Dselftests.c63 int iplen, size; in net_test_get_skb() local
124 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in net_test_get_skb()
126 iplen += sizeof(*thdr); in net_test_get_skb()
128 iplen += sizeof(*uhdr); in net_test_get_skb()
131 iplen = attr->max_size - sizeof(*ehdr); in net_test_get_skb()
133 ihdr->tot_len = htons(iplen); in net_test_get_skb()
Dpktgen.c2864 int datalen, iplen; in fill_packet_ipv4() local
2952 iplen = 20 + 8 + datalen; in fill_packet_ipv4()
2953 iph->tot_len = htons(iplen); in fill_packet_ipv4()