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

/freebsd-10-stable/sys/netinet/
H A Dip_output.c789 struct ip *mhip; /* ip header on the fragment */ local
818 mhip = mtod(m, struct ip *);
819 *mhip = *ip;
821 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
822 mhip->ip_v = IPVERSION;
823 mhip->ip_hl = mhlen >> 2;
827 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
831 mhip->ip_off |= IP_MF;
832 mhip->ip_len = htons((u_short)(len + mhlen));
844 mhip
[all...]
/freebsd-10-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c699 register struct ip *ip, *mhip; local
883 mhip = mtod(m, struct ip *);
884 bcopy((char *)ip, (char *)mhip, sizeof(*ip));
886 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
887 IP_HL_A(mhip, mhlen >> 2);
890 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
894 mhip->ip_off |= IP_MF;
895 mhip->ip_len = htons((u_short)(len + mhlen));
904 mhip->ip_off = htons((u_short)mhip
[all...]

Completed in 66 milliseconds