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

/freebsd-9.3-release/sys/netinet/
H A Dip_output.c780 struct ip *mhip; /* ip header on the fragment */ local
797 mhip = mtod(m, struct ip *);
798 *mhip = *ip;
800 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
801 mhip->ip_v = IPVERSION;
802 mhip->ip_hl = mhlen >> 2;
806 mhip->ip_off = ((off - hlen) >> 3) + ip->ip_off;
811 mhip->ip_off |= IP_MF;
812 mhip->ip_len = htons((u_short)(len + mhlen));
826 mhip
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c908 register struct ip *ip, *mhip; local
1092 mhip = mtod(m, struct ip *);
1093 bcopy((char *)ip, (char *)mhip, sizeof(*ip));
1095 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
1096 IP_HL_A(mhip, mhlen >> 2);
1099 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
1103 mhip->ip_off |= IP_MF;
1104 mhip->ip_len = htons((u_short)(len + mhlen));
1113 mhip->ip_off = htons((u_short)mhip
[all...]

Completed in 104 milliseconds