- t2ex
- bsd_source/lib/libc/src_bsd/include/netinet6/in6.h - 31.7KB - 840 lines
260: (*(const u_int32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \
261: (*(const u_int32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1)))
262:
- More results from in6.h
- bsd_source/lib/libc/src_bsd/include/sys/endian.h - 9.5KB - 251 lines
244: #if __BSD_VISIBLE
245: #define NTOHL(x) (x) = ntohl((u_int32_t)(x))
246: #define NTOHS(x) (x) = ntohs((u_int16_t)(x))
- bsd_source/t2ex/network/net/src_bsd/lib/libkern/intoa.c - 2.8KB - 78 lines
56:
57: addr = ntohl(addr);
58: cp = &buf[sizeof buf];
- bsd_source/t2ex/network/net/src_bsd/net/if_tun.c - 33.3KB - 1,241 lines
979: error = uiomove((void *)&family, sizeof(family), uio);
980: dst.sa_family = ntohl(family);
981: } else {
- bsd_source/t2ex/network/net/src_bsd/netinet/in.c - 41.9KB - 1,225 lines
237:
238: addr.s_addr = ntohl(addr.s_addr);
239:
- bsd_source/t2ex/network/net/src_bsd/netinet/in_offload.c - 5.7KB - 197 lines
127: th = (void *)(mtod(m, char *) + iphlen);
128: tcpseq = ntohl(th->th_seq);
129: thlen = th->th_off * 4;
- bsd_source/t2ex/network/net/src_bsd/netinet/in_pcb.c - 36.2KB - 1,082 lines
148: &(table)->inpt_bindhashtbl[ \
149: ((ntohl((laddr).s_addr) + ntohs(lport))) & (table)->inpt_bindhash]
150: #define INPCBHASH_CONNECT(table, faddr, fport, laddr, lport) \
- More results from in_pcb.c
- bsd_source/t2ex/network/net/src_bsd/netinet/ip_input.c - 90.8KB - 2,575 lines
696: /* 127/8 must not appear on wire - RFC1122 */
697: if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET ||
698: (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) {
- More results from ip_input.c
- bsd_source/t2ex/network/net/src_bsd/netinet/ip_output.c - 67.3KB - 1,940 lines
1558: *ifindexp = 0;
1559: if (ntohl(a->s_addr) >> 24 == 0) {
1560: ifindex = ntohl(a->s_addr) & 0xffffff;
- More results from ip_output.c
- bsd_source/t2ex/network/net/src_bsd/netinet/tcp_debug.c - 7.9KB - 223 lines
180: if (act == TA_OUTPUT) {
181: seq = ntohl(seq);
182: ack = ntohl(ack);
- More results from tcp_debug.c