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

/freebsd-10.0-release/sys/netinet/
H A Dip_output.c788 struct ip *mhip; /* ip header on the fragment */ local
805 mhip = mtod(m, struct ip *);
806 *mhip = *ip;
808 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
809 mhip->ip_v = IPVERSION;
810 mhip->ip_hl = mhlen >> 2;
814 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
818 mhip->ip_off |= IP_MF;
819 mhip->ip_len = htons((u_short)(len + mhlen));
833 mhip
[all...]
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c707 register struct ip *ip, *mhip; local
891 mhip = mtod(m, struct ip *);
892 bcopy((char *)ip, (char *)mhip, sizeof(*ip));
894 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
895 IP_HL_A(mhip, mhlen >> 2);
898 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
902 mhip->ip_off |= IP_MF;
903 mhip->ip_len = htons((u_short)(len + mhlen));
912 mhip->ip_off = htons((u_short)mhip
[all...]

Completed in 103 milliseconds