HomeSort by: relevance | last modified time | path
    Searched defs:mhip (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/netinet/
ip_output.c 839 struct ip *ip, *mhip; local in function:ip_fragment
888 mhip = mtod(m, struct ip *);
889 *mhip = *ip;
895 mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip);
896 mhip->ip_hl = mhlen >> 2;
900 mhip->ip_off = ((off - hlen) >> 3) + ipoff;
901 mhip->ip_off |= ipflg;
905 mhip->ip_off |= IP_MF;
906 HTONS(mhip->ip_off);
908 mhip->ip_len = htons((u_int16_t)(len + mhlen))
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_fil_netbsd.c 1097 register struct ip *ip, *mhip; local in function:ipf_fastroute
1306 mhip = mtod(m, struct ip *);
1307 bcopy((char *)ip, (char *)mhip, sizeof(*ip));
1310 mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
1311 IP_HL_A(mhip, mhlen >> 2);
1315 mhip->ip_off = ((off - hlen) >> 3) + ip_off;
1319 mhip->ip_off |= IP_MF;
1320 mhip->ip_len = htons((u_short)(len + mhlen));
1328 mhip->ip_off = htons((u_short)mhip->ip_off)
    [all...]

Completed in 14 milliseconds