Searched refs:pktlen (Results 1 – 1 of 1) sorted by relevance
69 uint32_t pktlen = sizeof(struct iphdr) + sizeof(struct icmphdr) + len; in ICMPOutput() local100 iph = (struct iphdr *)EthernetOutput(mtcp, pctx, ETH_P_IP, nif, haddr, pktlen, ts); in ICMPOutput()108 iph->tot_len = htons(pktlen); in ICMPOutput()