HomeSort by relevance Sort by last modified time
    Searched refs:htons (Results 1 - 25 of 382) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mtpd/
l2tp.c 66 #define RESULT_CODE htons(1)
67 #define PROTOCOL_VERSION htons(2)
68 #define FRAMING_CAPABILITIES htons(3)
69 #define HOST_NAME htons(7)
70 #define ASSIGNED_TUNNEL htons(9)
71 #define WINDOW_SIZE htons(10)
72 #define CHALLENGE htons(11)
73 #define CHALLENGE_RESPONSE htons(13)
74 #define ASSIGNED_SESSION htons(14)
75 #define CALL_SERIAL_NUMBER htons(15
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
htons.c 11 inline uint16_t htons(uint16_t hostshort) { function
  /frameworks/opt/net/voip/src/jni/rtp/
util.cpp 45 sin->sin_port = htons(port);
53 sin6->sin6_port = htons(port);
  /external/chromium_org/third_party/WebKit/Source/wtf/
ByteOrder.h 51 inline uint16_t htons(uint16_t x) { return x; } function
56 inline uint16_t htons(uint16_t x) { return x; }
61 inline uint16_t htons(uint16_t x) { return WTF::bswap16(x); }
  /external/tcpdump/
icmp6.h 373 #define NI_SUPTYPE_FLAG_COMPRESS ((u_int16_t)htons(0x1))
374 #define NI_FQDN_FLAG_VALIDTTL ((u_int16_t)htons(0x1))
377 #define NI_NODEADDR_FLAG_TRUNCATE ((u_int16_t)htons(0x1))
378 #define NI_NODEADDR_FLAG_ALL ((u_int16_t)htons(0x2))
379 #define NI_NODEADDR_FLAG_COMPAT ((u_int16_t)htons(0x4))
380 #define NI_NODEADDR_FLAG_LINKLOCAL ((u_int16_t)htons(0x8))
381 #define NI_NODEADDR_FLAG_SITELOCAL ((u_int16_t)htons(0x10))
382 #define NI_NODEADDR_FLAG_GLOBAL ((u_int16_t)htons(0x20))
383 #define NI_NODEADDR_FLAG_ANYCAST ((u_int16_t)htons(0x40)) /* just experimental. not in spec */
453 #define ICMP6_RR_RESULT_FLAGS_OOB ((u_int16_t)htons(0x0002)
    [all...]
print-cip.c 95 etherproto_string(htons(extracted_ethertype)));
  /external/qemu/slirp/
ip_output.c 79 ip->ip_id = htons(ip_id++);
98 ip->ip_len = htons((u_int16_t)ip->ip_len);
99 ip->ip_off = htons((u_int16_t)ip->ip_off);
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
166 mhip->ip_off = htons((u_int16_t)mhip->ip_off);
179 ip->ip_len = htons((u_int16_t)m->m_len);
180 ip->ip_off = htons((u_int16_t)(ip->ip_off | IP_MF));
  /external/qemu/slirp-android/
ip_output.c 79 ip->ip_id = htons(ip_id++);
98 ip->ip_len = htons((u_int16_t)ip->ip_len);
99 ip->ip_off = htons((u_int16_t)ip->ip_off);
159 mhip->ip_len = htons((u_int16_t)(len + mhlen));
166 mhip->ip_off = htons((u_int16_t)mhip->ip_off);
179 ip->ip_len = htons((u_int16_t)m->m_len);
180 ip->ip_off = htons((u_int16_t)(ip->ip_off | IP_MF));
  /external/kernel-headers/original/linux/byteorder/
generic.h 52 * htons(__u16 x)
148 #undef htons macro
157 extern __be16 htons(__u16);
168 #define htons(x) ___htons(x) macro
  /external/bluetooth/bluedroid/gki/common/
gki_inet.h 23 #define htons ntohs macro
  /external/libnfc-nci/halimpl/bcm2079x/gki/common/
gki_inet.h 23 #define htons ntohs macro
  /external/libnfc-nci/src/gki/common/
gki_inet.h 23 #define htons ntohs macro
  /system/core/libnetutils/
packet.c 47 if((s = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP))) < 0) {
53 bindaddr.sll_protocol = htons(ETH_P_IP);
103 ip.tot_len = htons(sizeof(ip) + sizeof(udp) + size);
113 udp.source = htons(sport);
114 udp.dest = htons(dport);
115 udp.len = htons(sizeof(udp) + size);
121 temp = htons(IPPROTO_UDP);
141 destaddr.sll_protocol = htons(ETH_P_IP);
196 } else if (packet.udp.dest != htons(PORT_BOOTP_CLIENT)) {
  /external/dhcpcd/
duid.c 76 type = htons(1); /* DUI-D-LLT */
79 hw = htons(iface->family);
  /external/dnsmasq/src/
bpf.c 188 ether.ether_type = htons(ETHERTYPE_IP);
203 ip.ip_len = htons(sizeof(struct ip) +
209 ip.ip_id = htons(0);
210 ip.ip_off = htons(0x4000); /* don't fragment */
219 udp.uh_sport = htons(daemon->dhcp_server_port);
220 udp.uh_dport = htons(daemon->dhcp_client_port);
224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len);
225 sum += htons(IPPROTO_UDP);
  /external/ppp/pppd/plugins/pppoatm/
misc.c 14 #include <netinet/in.h> /* for htons */
49 vs_id[5] = (htons(port) >> 8) & 255;
50 vs_id[6] = htons(port) & 255;
  /bionic/libc/netbsd/resolv/
res_mkquery.c 146 hp->id = htons(res_randomid());
172 hp->qdcount = htons(1);
193 hp->arcount = htons(1);
215 hp->ancount = htons(1);
272 hp->arcount = htons(ntohs(hp->arcount) + 1);
  /libcore/luni/src/main/native/
libcore_net_RawSocket.cpp 70 su.sll.sll_protocol = htons(protocolType);
72 int sock = socket(PF_PACKET, SOCK_DGRAM, htons(protocolType));
128 su.sll.sll_hatype = htons(1); // ARPHRD_ETHER
132 su.sll.sll_protocol = htons(protocolType);
202 __be16 destPort = htons((reinterpret_cast<udphdr*>(packetData + sizeof(iphdr)))->dest);
  /external/chromium_org/tools/android/fake_dns/
fake_dns.cc 61 response.id = htons(id);
62 response.flags = htons(net::dns_protocol::kFlagResponse |
78 header.id = htons(id);
79 header.flags = htons(net::dns_protocol::kFlagResponse |
84 header.qdcount = htons(1);
85 header.ancount = htons(1);
207 addr.sin_port = htons(53);
  /bionic/libc/bionic/
bindresvport.c 63 sin->sin_port = htons(port);
  /external/chromium_org/sandbox/win/sandbox_poc/pocdll/
network.cc 38 service.sin_port = htons(88);
  /external/ppp/pppd/plugins/rp-pppoe/
discovery.c 148 conn->cookie.type = htons(type);
149 conn->cookie.length = htons(len);
162 conn->relayId.type = htons(type);
163 conn->relayId.length = htons(len);
227 conn->relayId.type = htons(type);
228 conn->relayId.length = htons(len);
262 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
269 svc->length = htons(namelen);
281 hostUniq.type = htons(TAG_HOST_UNIQ);
282 hostUniq.length = htons(sizeof(pid))
    [all...]
  /system/core/libcutils/
socket_inaddr_any_server.c 44 addr.sin_port = htons(port);
socket_loopback_client.c 45 addr.sin_port = htons(port);
socket_loopback_server.c 44 addr.sin_port = htons(port);

Completed in 902 milliseconds

1 2 3 4 5 6 7 8 91011>>