Searched refs:ntohs (Results 1 - 25 of 87) sorted by last modified time
1234
/haiku/src/add-ons/kernel/network/protocols/tcp/ |
H A D | EndpointManager.cpp | 416 if (ntohs(port) <= kLastReservedPort && geteuid() != 0)
|
H A D | tcp.cpp | 213 segment.max_segment_size = ntohs(option->max_segment_size); 264 dprintf(" source port: %u\n", ntohs(header.source_port)); 265 dprintf(" dest port: %u\n", ntohs(header.destination_port));
|
/haiku/src/bin/network/traceroute/ |
H A D | traceroute.c | 1303 Printf(" %04x", ntohs(*sp++)); 1418 pmtu = ntohs(icp->icmp_nextmtu); 1497 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && 1498 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq)); 1523 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && 1524 ntohs(udp->uh_dport) == port + (fixedPort ? 0 : seq)); 1549 return (ntohs(tcp->th_sport) == ident 1550 && ntohs(tcp->th_dport) == port + (fixedPort ? 0 : seq) 1635 if (ntohs(sctp->src_port) != ident || 1636 ntohs(sct [all...] |
/haiku/src/bin/network/ping/ |
H A D | ping6.c | 1026 src.sin6_port = ntohs(DUMMY_PORT); 1461 if (ntohs(icp->icmp6_id) == ident) 1616 seq = ntohs(icp->icmp6_seq); 1686 seq = ntohs(seq); 1702 switch (ntohs(ni->ni_code)) { 1706 printf("refused, type 0x%x", ntohs(ni->ni_type)); 1709 printf("unknown, type 0x%x", ntohs(ni->ni_type)); 1713 ntohs(ni->ni_code), ntohs(ni->ni_type)); 1717 switch (ntohs(n [all...] |
H A D | ping.c | 1221 seq = ntohs(icp.icmp_seq); 1484 ntohs(icp->icmp_nextmtu)); 1605 ip->ip_v, ip->ip_hl, ip->ip_tos, ntohs(ip->ip_len), 1606 ntohs(ip->ip_id)); 1608 (ntohs(ip->ip_off) & 0xe000) >> 13, 1609 ntohs(ip->ip_off) & 0x1fff); 1611 ntohs(ip->ip_sum));
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6.cpp | 65 uint16 PayloadLength() const { return ntohs(header.ip6_plen); } 575 uint16 start = ntohs(fragmentHeader.ip6f_offlg & IP6F_OFF_MASK);
|
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4.cpp | 485 dprintf(" id: %d\n", ntohs(header.id)); 493 dprintf(" checksum: %d\n", ntohs(header.checksum));
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 3275 pi->ipi_etype = ntohs(eh->evl_proto); 3278 pi->ipi_etype = ntohs(eh->evl_encap_proto);
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | tcp_shell.cpp | 1108 printf(" <mss %u>", ntohs(option->max_segment_size));
|
/haiku/src/add-ons/kernel/network/stack/ |
H A D | device_interfaces.cpp | 122 ntohs(linkAddress.sdl_e_type));
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 196 int16_t size = ntohs(fRequest->size); 239 int16_t size = ntohs(fRequest->size);
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_send.c | 253 int qdcount = ntohs(((const HEADER*)(const void *)buf)->qdcount); 291 int qdcount = ntohs(((const HEADER*)(const void *)buf1)->qdcount); 304 if (qdcount != ntohs(((const HEADER*)(const void *)buf2)->qdcount))
|
H A D | res_query.c | 172 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 177 ntohs(hp->ancount), 178 ntohs(hp->nscount), 179 ntohs(hp->arcount));
|
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | hesiod.c | 447 ancount = ntohs(hp->ancount); 448 qdcount = ntohs(hp->qdcount);
|
H A D | getservbyport_r.c | 67 port = ntohs(port);
|
H A D | getnameinfo.c | 173 ntohs(sat->sat_addr.s_net), sat->sat_addr.s_node); 191 ntohs(sat->sat_range.r_netrange.nr_firstnet), 192 ntohs(sat->sat_range.r_netrange.nr_lastnet )); 302 snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
|
H A D | getnetnamadr.c | 199 ancount = ntohs(hp->ancount); /* #/records in the answer section */ 200 qdcount = ntohs(hp->qdcount); /* #/entries in the question section */
|
H A D | getaddrinfo.c | 1772 ancount = ntohs(hp->ancount); 1773 qdcount = ntohs(hp->qdcount); 2014 h_errno = ntohs(hp->ancount) > 0? NO_DATA : NO_RECOVERY; 2659 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { 2665 ntohs(hp->ancount), 2666 ntohs(hp->nscount), 2667 ntohs(hp->arcount)); 2672 ancount += ntohs(hp->ancount);
|
H A D | gethnamaddr.c | 258 ancount = ntohs(hp->ancount); 259 qdcount = ntohs(hp->qdcount);
|
/haiku/src/bin/debug/strace/ |
H A D | NetworkTypes.cpp | 397 r += format_number(ntohs(sin->sin_port));
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_input.c | 1248 len = ntohs(eh->ether_type);
|
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/ |
H A D | if_rge.c | 1412 ntohs(extsts & RGE_RDEXTSTS_VLAN_MASK);
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_txrx.c | 145 __func__, ntohs(pi->ipi_etype));
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_api_wrapper.h | 84 #define ntohs(x) fssh_ntohs(x) macro
|
/haiku/src/tests/kits/net/netservices2/ |
H A D | TestServer.cpp | 121 fServerPort = ntohs(server_address.sin_port);
|
Completed in 191 milliseconds
1234