gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:htons from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/ip_output.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/netinet/ip_output.c - 67.3KB - 1,940 lines
261:                 ip->ip_v = IPVERSION;
262:                 ip->ip_off = htons(0);
263:                 /* ip->ip_id filled in after we find out source ia */
508: (rt->rt_rmx.rmx_locks & RTV_MTU) == 0) 509: ip->ip_off |= htons(IP_DF); 510:
720: #ifdef __FreeBSD__ 721: ip->ip_len = htons(ip->ip_len); 722: ip->ip_off = htons(ip->ip_off); 723: #endif
997: (ntohs(ip->ip_off) & ~IP_MF); 998: if (ip->ip_off & htons(IP_MF)) 999: mhip->ip_off |= IP_MF;
1004: HTONS(mhip->ip_off); 1005: mhip->ip_len = htons((u_int16_t)(len + mhlen)); 1006: m->m_next = m_copym(m0, off, len, M_DONTWAIT);
1031: m->m_pkthdr.len = hlen + firstlen; 1032: ip->ip_len = htons((u_int16_t)m->m_pkthdr.len); 1033: ip->ip_off |= htons(IP_MF); 1034: ip->ip_sum = 0;
1151: *phlen = sizeof(struct ip) + optlen; 1152: ip->ip_len = htons(ntohs(ip->ip_len) + optlen); 1153: return (m);