gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:htons 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
1033:          */
1034:         if (ip->ip_off & ~htons(IP_DF|IP_RF)) {
1035:                 uint16_t off;
1077: */ 1078: ip->ip_len = htons(ntohs(ip->ip_len) - hlen); 1079: mff = (ip->ip_off & htons(IP_MF)) != 0; 1080: if (mff) {
1091: } 1092: ip->ip_off = htons((ntohs(ip->ip_off) & IP_OFFMASK) << 3); 1093:
1098: */ 1099: if (mff || ip->ip_off != htons(0)) { 1100: IP_STATINC(IP_STAT_FRAGMENTS);
1119: hlen = ip->ip_hl << 2; 1120: ip->ip_len = htons(ntohs(ip->ip_len) + hlen); 1121: } else
1294: ipqe->ipqe_ip->ip_off = 1295: htons(ntohs(ipqe->ipqe_ip->ip_off) + i); 1296: ipqe->ipqe_ip->ip_len = 1297: htons(ntohs(ipqe->ipqe_ip->ip_len) - i); 1298: }
1311: q->ipqe_ip->ip_len = 1312: htons(ntohs(q->ipqe_ip->ip_len) - i); 1313: q->ipqe_ip->ip_off = 1314: htons(ntohs(q->ipqe_ip->ip_off) + i); 1315: m_adj(q->ipqe_m, i);
1382: */ 1383: ip->ip_len = htons(next); 1384: ip->ip_src = fp->ipq_src;