Search | Google it | Results 1 - 1 of 1 for funcall:htons from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/udp_usrreq.c (0.00 seconds) |
390: ip->ip_dst.s_addr, 391: htons(hw_csum + len + IPPROTO_UDP)); 392: } 1210: ui->ui_dport = inp->inp_fport; 1211: ui->ui_ulen = htons((u_int16_t)len + sizeof(struct udphdr)); 1212: 1223: ui->ui_sum = in_cksum_phdr(ui->ui_src.s_addr, 1224: ui->ui_dst.s_addr, htons((u_int16_t)len + 1225: sizeof(struct udphdr) + IPPROTO_UDP)); 1611: ip = mtod(m, struct ip *); 1612: ip->ip_len = htons(ntohs(ip->ip_len) - skip); 1613: ip->ip_p = IPPROTO_ESP;