/haiku/headers/posix/netinet/ |
H A D | in.h | 42 # define ntohs(x) __net_swap_int16(x) macro 47 # define ntohs(x) (x) macro
|
/haiku/headers/private/firewire/ |
H A D | firewire.h | 465 # define ntohs(x) B_BENDIAN_TO_HOST_INT16(x) macro
|
/haiku/headers/private/kernel/boot/net/ |
H A D | NetDefs.h | 23 # define ntohs(x) B_BENDIAN_TO_HOST_INT16(x) macro
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/ |
H A D | RemoteDisk.cpp | 205 int16 packetSize = ntohs(((remote_disk_header*)fPacket)->size);
272 int16 packetSize = ntohs(reply.size);
356 uint32 packetSize = ntohs(header->size);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_an.c | 3080 if ((ntohs(eh->ether_type) == ETHERTYPE_IP)) {
|
/haiku/src/add-ons/kernel/network/ppp/ipcp/ |
H A D | Protocol.cpp | 270 if (ntohs(data.length) < 4) 910 if (nak && ntohs(lcpHdrNakLength) > 3) 912 else if (reject && ntohs(lcpHdrRejectLength) > 3)
|
/haiku/src/add-ons/kernel/network/ppp/pap/ |
H A D | Protocol.cpp | 74 || item->length != 4 || ntohs(item->protocolNumber) != PAP_PROTOCOL) 205 length -= ntohs(data.length); 207 if (ntohs(data.length) < 4) 340 int32 length = ntohs(request.length);
|
/haiku/src/add-ons/kernel/network/ppp/pppoe/ |
H A D | DiscoveryPacket.cpp | 33 uint16 length = ntohs(header.length); 50 position += ntohs(tag->length) + 4; 52 AddTag(ntohs(tag->type), tag->data, ntohs(tag->length));
|
H A D | pppoe.cpp | 201 ntohs(linkAddress.sdl_e_type)); 206 && ntohs(header.length) <= PPPoE_QUERY_REPORT_SIZE) {
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPLCP.cpp | 253 if (ntohs(data.length) < 4)
|
H A D | _KPPPAuthenticationHandler.cpp | 126 if (ntohs(item->protocolNumber) == 134 KPPPProtocol *authenticator = Interface().ProtocolFor(ntohs(item->protocolNumber)); 171 || ntohs(item->protocolNumber) != fPeerAuthenticator->ProtocolNumber()) 192 TRACE("KPPPAuthHandler: ParseRequest(%X)\n", ntohs(item->protocolNumber)); 195 fLocalAuthenticator = Interface().ProtocolFor(ntohs(item->protocolNumber));
|
H A D | _KPPPMRUHandler.cpp | 54 uint16 MRU = ntohs(item->MRU); 79 MRU = ntohs(item->MRU); 119 MRU = ntohs(item->MRU);
|
/haiku/src/add-ons/kernel/network/protocols/icmp/ |
H A D | icmp.cpp | 431 ntohs(header.checksum));
|
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4.h | 42 uint16 TotalLength() const { return ntohs(total_length); } 43 uint16 FragmentOffset() const { return ntohs(fragment_offset); }
|
/haiku/src/add-ons/print/transports/ipp/ |
H A D | IppContent.cpp | 23 len = ntohs(len); 660 version = ntohs(version); 666 operation_id = ntohs(operation_id);
|
/haiku/src/bin/fwcontrol/ |
H A D | fwdv.c | 191 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc));
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetAddress.cpp | 129 * here, so it is not necessary to call ntohs() after 155 *port = ntohs(fPort); 231 *port = ntohs(fPort);
|
H A D | NetworkSettings.cpp | 1474 fPort = ntohs(servent->s_port);
|
/haiku/src/system/boot/loader/net/ |
H A D | IP.cpp | 98 || ntohs(header->total_length) > size 116 ntohs(header->total_length) - headerLength);
|
H A D | RemoteDisk.cpp | 132 int16 packetSize = ntohs(((remote_disk_header*)packet->Data())->size); 228 error = remoteDisk->Init(packet->SourceAddress(), ntohs(reply->port), 250 uint32 packetSize = ntohs(header->size);
|
H A D | TCP.cpp | 730 uint16 source = ntohs(header->source); 731 uint16 destination = ntohs(header->destination);
|
H A D | UDP.cpp | 317 uint16 source = ntohs(header->source); 318 uint16 destination = ntohs(header->destination); 319 uint16 length = ntohs(header->length);
|
/haiku/src/system/libnetwork/netresolv/resolv/ |
H A D | res_mkquery.c | 261 hp->arcount = htons(ntohs(hp->arcount) + 1);
|
/haiku/src/tests/kits/net/ |
H A D | NetAddressTest.cpp | 32 uint16 hostPort = ntohs(nwPort);
|
/haiku/src/tests/system/network/ |
H A D | firefox_crash.cpp | 71 init_sockaddr(address, INADDR_LOOPBACK, ntohs(listenAddress.sin_port));
|