Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dip_output.c962 struct ip *mhip; /* ip header on the fragment */ in ip_fragment()
991 mhip = mtod(m, struct ip *); in ip_fragment()
992 *mhip = *ip; in ip_fragment()
994 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); in ip_fragment()
995 mhip->ip_v = IPVERSION; in ip_fragment()
996 mhip->ip_hl = mhlen >> 2; in ip_fragment()
1000 mhip->ip_off = ((off - hlen) >> 3) + ip_off; in ip_fragment()
1004 mhip->ip_off |= IP_MF; in ip_fragment()
1005 mhip->ip_len = htons((u_short)(len + mhlen)); in ip_fragment()
1017 mhip in ip_fragment()
960 struct ip *mhip; /* ip header on the fragment */ ip_fragment() local
[all...]
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c665 register struct ip *ip, *mhip; in ipf_fastroute() local
848 mhip = mtod(m, struct ip *); in ipf_fastroute()
849 bcopy((char *)ip, (char *)mhip, sizeof(*ip)); in ipf_fastroute()
851 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip); in ipf_fastroute()
852 IP_HL_A(mhip, mhlen >> 2); in ipf_fastroute()
855 mhip->ip_off = ((off - hlen) >> 3) + ip_off; in ipf_fastroute()
859 mhip->ip_off |= IP_MF; in ipf_fastroute()
860 mhip->ip_len = htons((u_short)(len + mhlen)); in ipf_fastroute()
869 mhip->ip_off = htons((u_short)mhip->ip_off); in ipf_fastroute()
870 mhip->ip_sum = 0; in ipf_fastroute()
[all …]