gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:mtod from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/ip_input.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/netinet/ip_input.c - 90.8KB - 2,575 lines
655:          */
656:         if (IP_HDR_ALIGNED_P(mtod(m, void *)) == 0) {
657:                 if ((m = m_copyup(m, sizeof(struct ip),
668: } 669: ip = mtod(m, struct ip *); 670: if (ip->ip_v != IPVERSION) {
683: } 684: ip = mtod(m, struct ip *); 685: }
798: return; 799: ip = mtod(m, struct ip *); 800: hlen = ip->ip_hl << 2;
1117: IP_STATINC(IP_STAT_REASSEMBLED); 1118: ip = mtod(m, struct ip *); 1119: hlen = ip->ip_hl << 2;
1905: p = &ip_srcrt.route[ip_nhops - 1]; 1906: *(mtod(m, struct in_addr *)) = *p--; 1907: #ifdef DIAGNOSTIC 1908: if (ipprintfs) 1909: printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr)); 1910: #endif
1916: ip_srcrt.srcopt[IPOPT_OFFSET] = IPOPT_MINOFF; 1917: memmove(mtod(m, char *) + sizeof(struct in_addr), &ip_srcrt.nop, 1918: OPTSIZ);