gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:ntohs from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/ip_icmp.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/netinet/ip_icmp.c - 44.0KB - 1,314 lines
335:         icmplen = oiplen + min(icmpreturndatabytes,
336:             ntohs(oip->ip_len) - oiplen);
337:         /*
475: */ 476: icmplen = ntohs(ip->ip_len) - hlen; 477: #ifdef ICMPPRINTFS
915: */ 916: ip->ip_len = htons(ntohs(ip->ip_len) - optlen); 917: ip->ip_hl = sizeof(struct ip) >> 2;
955: icp->icmp_cksum = 0; 956: icp->icmp_cksum = in_cksum(m, ntohs(ip->ip_len) - hlen); 957: m->m_data -= hlen;
1143: struct rtentry *rt; 1144: u_long mtu = ntohs(icp->icmp_nextmtu); /* Why a long? IPv6 */ 1145: int error;
1176: 1177: mtu = ntohs(icp->icmp_ip.ip_len); 1178: /* Some 4.2BSD-based routers incorrectly adjust the ip_len */