- t2ex
- bsd_source/t2ex/network/net/src_bsd/netinet/ip_output.c - 67.3KB - 1,940 lines
469: /* don't allow broadcast messages to be fragmented */
470: if (ntohs(ip->ip_len) > ifp->if_mtu) {
471: error = EMSGSIZE;
- More results from ip_output.c
- bsd_source/t2ex/network/net/src_bsd/netinet/raw_ip.c - 23.3KB - 747 lines
208: hlen = ip->ip_hl << 2;
209: ip->ip_len = ntohs(ip->ip_len) - hlen;
210: NTOHS(ip->ip_off);
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_debug.c - 7.9KB - 223 lines
182: ack = ntohl(ack);
183: len = ntohs((u_int16_t)len);
184: }
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_input.c - 167.0KB - 4,503 lines
849: "Connection attempt to TCP %s:%d from %s:%d\n",
850: dst, ntohs(th->th_dport),
851: src, ntohs(th->th_sport));
- More results from tcp_input.c
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_subr.c - 84.9KB - 2,586 lines
1816: */
1817: mtu = (u_int)ntohs(icp->icmp_nextmtu);
1818: if (mtu >= tp->t_pmtud_mtu_sent)
- bsd_source/t2ex/network/net/src_bsd/netinet/udp_usrreq.c - 51.8KB - 1,650 lines
463: */
464: ip_len = ntohs(ip->ip_len);
465: len = ntohs((u_int16_t)uh->uh_ulen);
- More results from udp_usrreq.c
- bsd_source/t2ex/network/net/src_bsd/sys/endian.h - 9.5KB - 353 lines
143: #define NTOHL(x) (x) = ntohl((uint32_t)(x))
144: #define NTOHS(x) (x) = ntohs((uint16_t)(x))
145: #define HTONL(x) (x) = htonl((uint32_t)(x))
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/getaddrinfo.c - 74.1KB - 2,420 lines
1330: hp = &answer->hdr;
1331: ancount = ntohs(hp->ancount);
1332: qdcount = ntohs(hp->qdcount);
- More results from getaddrinfo.c
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/gethnamaddr.c - 48.5KB - 1,584 lines
279: hp = &answer->hdr;
280: ancount = ntohs(hp->ancount);
281: qdcount = ntohs(hp->qdcount);
- More results from gethnamaddr.c
- bsd_source/t2ex/network/net/src_bsdlib/libc/net/getnameinfo.c - 18.4KB - 563 lines
238: } else {
239: snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
240: if (strlen(numserv) + 1 > servlen)