/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/ |
H A D | in.h | 40 #define ipv4_is_zeronet(be) IN_ZERONET(ntohl(be)) 41 #define ipv4_is_loopback(be) IN_LOOPBACK(ntohl(be))
|
/barrelfish-master/include/lwip/lwip/ |
H A D | ip_addr.h | 125 #define ip_addr_ismulticast(addr1) (((addr1)->addr & ntohl(0xf0000000UL)) == ntohl(0xe0000000UL)) 127 #define ip_addr_islinklocal(addr1) (((addr1)->addr & ntohl(0xffff0000UL)) == ntohl(0xa9fe0000UL)) 132 (u16_t)(ntohl((ipaddr)->addr) >> 24) & 0xff : 0, \ 134 (u16_t)(ntohl((ipaddr)->addr) >> 16) & 0xff : 0, \ 136 (u16_t)(ntohl((ipaddr)->addr) >> 8) & 0xff : 0, \ 138 (u16_t)ntohl((ipaddr)->addr) & 0xff : 0)) 142 #define ip4_addr1(ipaddr) ((u16_t)(ntohl((ipaddr)->addr) >> 24) & 0xff) 143 #define ip4_addr2(ipaddr) ((u16_t)(ntohl((ipadd [all...] |
/barrelfish-master/include/lwip/ipv6/lwip/ |
H A D | ip_addr.h | 79 (ntohl(ipaddr->addr[0]) >> 16) & 0xffff, \ 80 ntohl(ipaddr->addr[0]) & 0xffff, \ 81 (ntohl(ipaddr->addr[1]) >> 16) & 0xffff, \ 82 ntohl(ipaddr->addr[1]) & 0xffff, \ 83 (ntohl(ipaddr->addr[2]) >> 16) & 0xffff, \ 84 ntohl(ipaddr->addr[2]) & 0xffff, \ 85 (ntohl(ipaddr->addr[3]) >> 16) & 0xffff, \ 86 ntohl(ipaddr->addr[3]) & 0xffff));
|
H A D | inet.h | 58 u32_t ntohl(u32_t n);
|
/barrelfish-master/lib/libc/inet/ |
H A D | inet_lnaof.c | 52 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_netof.c | 51 in_addr_t i = ntohl(in.s_addr);
|
/barrelfish-master/lib/libc/net/ |
H A D | ntoh.c | 49 ntohl(uint32_t nl) function
|
H A D | sourcefilter.c | 156 if (!IN_MULTICAST(ntohl(group.s_addr)) || 229 if (!IN_MULTICAST(ntohl(group.s_addr)) || 294 !IN_MULTICAST(ntohl(psu->sin.sin_addr.s_addr)))) { 357 !IN_MULTICAST(ntohl(psu->sin.sin_addr.s_addr)))) {
|
/barrelfish-master/lib/lwip/src/core/ipv6/ |
H A D | ip6.c | 378 (ntohl(iphdr->src.addr[0]) >> 16) & 0xffff, 379 ntohl(iphdr->src.addr[0]) & 0xffff)); 382 (ntohl(iphdr->src.addr[1]) >> 16) & 0xffff, 383 ntohl(iphdr->src.addr[1]) & 0xffff)); 386 (ntohl(iphdr->src.addr[2]) >> 16) & 0xffff, 387 ntohl(iphdr->src.addr[2]) & 0xffff)); 390 (ntohl(iphdr->src.addr[3]) >> 16) & 0xffff, 391 ntohl(iphdr->src.addr[3]) & 0xffff)); 395 (ntohl(iphdr->dest.addr[0]) >> 16) & 0xffff, 396 ntohl(iphd [all...] |
/barrelfish-master/include/arpa/ |
H A D | inet.h | 141 uint32_t ntohl(uint32_t); 172 #define ntohl(x) __ntohl(x) macro
|
/barrelfish-master/lib/libc/nls/ |
H A D | msgcat.c | 45 #include <arpa/inet.h> /* for ntohl() */ 280 u = ntohl((u_int32_t)cat_hdr->__nsets) - 1; 283 r = set_id - ntohl((u_int32_t)set_hdr[i].__setno); 289 ntohl((u_int32_t)cat_hdr->__msg_hdr_offset)); 291 l = ntohl((u_int32_t)set_hdr[i].__index); 292 u = l + ntohl((u_int32_t)set_hdr[i].__nmsgs) - 1; 296 ntohl((u_int32_t)msg_hdr[i].__msgno); 300 ntohl((u_int32_t) 302 ntohl((u_int32_t) 428 if (ntohl((u_int32_ [all...] |
/barrelfish-master/include/sys/ |
H A D | imgact_aout.h | 50 (ntohl((ex).a_midmag) & 0xffff) 52 ((ntohl((ex).a_midmag) >> 16) & 0x03ff) 54 ((ntohl((ex).a_midmag) >> 26) & 0x3f)
|
H A D | param.h | 314 __uint32_t ntohl(__uint32_t); 325 #define ntohl(x) __ntohl(x) macro
|
/barrelfish-master/lib/lwip/src/core/ |
H A D | tcp_out.c | 354 ")\n", ntohl(seg->tcphdr->seqno), 355 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), 531 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd)) { 599 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, 600 ntohl(seg->tcphdr->seqno), pcb->lastack)); 605 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { 624 ntohl(seg->tcphdr->seqno) + seg->len - pcb->lastack, 625 ntohl(seg->tcphdr->seqno), pcb->lastack, i)); 637 snd_nxt = ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); 654 (ntohl(se [all...] |
H A D | udp.c | 699 (u16_t) ((ntohl(pcb->local_ip.addr) >> 24) & 0xff), 700 (u16_t) ((ntohl(pcb->local_ip.addr) >> 16) & 0xff), 701 (u16_t) ((ntohl(pcb->local_ip.addr) >> 8) & 0xff), 702 (u16_t) (ntohl(pcb->local_ip.addr) & 0xff), pcb->local_port)); 763 (u16_t) ((ntohl(pcb->remote_ip.addr) >> 24) & 0xff), 764 (u16_t) ((ntohl(pcb->remote_ip.addr) >> 16) & 0xff), 765 (u16_t) ((ntohl(pcb->remote_ip.addr) >> 8) & 0xff), 766 (u16_t) (ntohl(pcb->remote_ip.addr) & 0xff),
|
H A D | tcp_in.c | 178 seqno = tcphdr->seqno = ntohl(tcphdr->seqno); 179 ackno = tcphdr->ackno = ntohl(tcphdr->ackno); 588 ntohl(pcb->unacked->tcphdr->seqno))); 591 && ackno == ntohl(pcb->unacked->tcphdr->seqno) + 1) { 823 ntohl(pcb->unacked->tcphdr->seqno))); 911 NULL ? ntohl(pcb->unacked->tcphdr->seqno) : 0, 913 NULL ? ntohl(pcb->unacked->tcphdr->seqno) + 919 TCP_SEQ_LEQ(ntohl(pcb->unacked->tcphdr->seqno) + 924 ntohl(pcb->unacked->tcphdr->seqno), 925 ntohl(pc [all...] |
H A D | dhcp.c | 288 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); 291 dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr)); 836 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); 1091 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); 1096 dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr)); 1169 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); 1172 dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr)); 1470 (u16_t) (ntohl(addr->addr) >> 24 & 0xff), 1471 (u16_t) (ntohl(addr->addr) >> 16 & 0xff), 1472 (u16_t) (ntohl(add [all...] |
/barrelfish-master/lib/devif/backends/net/mlx4/include/net/ |
H A D | ip.h | 63 addr = ntohl(addr);
|
/barrelfish-master/lib/posixcompat/ |
H A D | inheritance.c | 46 (u16_t)((ntohl(addr) >> 24) & 0xff), 47 (u16_t)((ntohl(addr) >> 16) & 0xff), 48 (u16_t)((ntohl(addr) >> 8) & 0xff), 49 (u16_t)(ntohl(addr) & 0xff));
|
/barrelfish-master/usr/tests/net-test/ |
H A D | net-test.c | 81 (u16_t)((ntohl(addr) >> 24) & 0xff), 82 (u16_t)((ntohl(addr) >> 16) & 0xff), 83 (u16_t)((ntohl(addr) >> 8) & 0xff), 84 (u16_t)(ntohl(addr) & 0xff));
|
/barrelfish-master/lib/libc/rpc/ |
H A D | rtime.c | 142 thetime = ntohl(thetime);
|
/barrelfish-master/include/lwip2/lwip/ |
H A D | def.h | 99 #define ntohl(x) lwip_ntohl(x) macro
|
/barrelfish-master/lib/libc/xdr/ |
H A D | xdr_stdio.c | 114 *lp = (long)ntohl(temp);
|
H A D | xdr_mem.c | 125 *lp = ntohl(*(u_int32_t *)xdrs->x_private); 151 *lp = ntohl(l);
|
/barrelfish-master/lib/lwip/src/core/ipv4/ |
H A D | inet.c | 219 * Note ntohs() and ntohl() are merely references to the htonx counterparts. 265 u32_t ntohl(u32_t n) function
|