gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:htons 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
311:                 goto freeit;
312:         if (oip->ip_off &~ htons(IP_MF|IP_DF))
313:                 goto freeit;
390: code == ICMP_UNREACH_NEEDFRAG && destmtu) 391: icp->icmp_nextmtu = htons(destmtu); 392: }
410: nip->ip_tos = 0; 411: nip->ip_len = htons(m->m_len); 412: /* ip_id set in ip_output */ 413: nip->ip_off = htons(0); 414: /* ip_ttl set in icmp_reflect */
915: */ 916: ip->ip_len = htons(ntohs(ip->ip_len) - optlen); 917: ip->ip_hl = sizeof(struct ip) >> 2;