Searched refs:u_int16_t (Results 1 – 17 of 17) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | res_random.c | 90 static const u_int16_t pfacts[PFAC_N] = { 96 static u_int16_t ru_x; 97 static u_int16_t ru_seed, ru_seed2; 98 static u_int16_t ru_a, ru_b; 99 static u_int16_t ru_g; 100 static u_int16_t ru_counter = 0; 101 static u_int16_t ru_msb = 0; 106 static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); 113 static u_int16_t 114 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) in pmod() [all …]
|
D | htons.c | 12 u_int16_t 13 htons(u_int16_t x) in htons() 17 return (u_int16_t)(s[0] << 8 | s[1]); in htons()
|
D | ntohs.c | 12 u_int16_t 13 ntohs(u_int16_t x) in ntohs() 17 return (u_int16_t)(s[0] << 8 | s[1]); in ntohs()
|
/bionic/libc/include/netinet/ |
D | udp.h | 40 u_int16_t uh_sport; 41 u_int16_t uh_dport; 42 u_int16_t uh_ulen; 43 u_int16_t uh_sum; 46 u_int16_t source; 47 u_int16_t dest; 48 u_int16_t len; 49 u_int16_t check;
|
D | icmp6.h | 77 u_int16_t icmp6_cksum; /* checksum field */ 80 u_int16_t icmp6_un_data16[2]; /* type-specific field */ 312 u_int16_t nd_opt_rh_reserved1; 320 u_int16_t nd_opt_mtu_reserved; 327 u_int16_t nd_opt_rdnss_reserved; 335 u_int16_t nd_opt_dnssl_reserved; 349 u_int16_t nd_opt_pref64_lifetime_plc; // net endian, 13 + 3 bits 427 u_int16_t rr_maxdelay; 449 u_int16_t rpm_reserved; 475 u_int16_t rrr_flags;
|
D | ip.h | 59 u_int16_t ip_len; /* total length */ 60 u_int16_t ip_id; /* identification */ 61 u_int16_t ip_off; /* fragment offset field */ 68 u_int16_t ip_sum; /* checksum */ 191 u_int16_t ippseudo_len; /* protocol length */
|
D | ip6.h | 82 u_int16_t ip6_un1_plen; /* payload length */ 223 u_int16_t ip6f_offlg; /* offset, reserved, and flag */
|
D | in_systm.h | 53 typedef u_int16_t n_short; /* short as received from the net */
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | dst.h | 13 u_int16_t dk_id; /*%< identifier of the key */ 79 const u_int16_t, /*!< key tag identifier */ 111 u_int16_t dst_s_dns_key_id(const u_char *, const int); 112 u_int16_t dst_s_id_calc(const u_char *, const int);
|
/bionic/libc/dns/resolv/ |
D | res_mkquery.c | 239 u_int16_t flags = 0; in res_nopt() 274 u_int16_t minlen = (cp - buf) + 3 * INT16SZ; in res_nopt() 275 u_int16_t extra = minlen % EDNS0_PADDING; in res_nopt() 276 u_int16_t padlen = (EDNS0_PADDING - extra) % EDNS0_PADDING; in res_nopt()
|
D | res_comp.c | 261 void __putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } in __putshort() 264 u_int16_t _getshort(const u_char *src) { return (ns_get16(src)); } in _getshort()
|
D | res_debug.c | 1181 u_int16_t 1201 return (u_int16_t)(result); in res_nametoclass() 1204 u_int16_t 1224 return (u_int16_t)(result); in res_nametotype()
|
D | res_send.c | 455 u_int16_t nstime; in res_nsend()
|
/bionic/libc/include/sys/ |
D | endian.h | 74 #define NTOHS(x) (x) = ntohs(__BIONIC_CAST(static_cast,u_int16_t,(x))) 76 #define HTONS(x) (x) = htons(__BIONIC_CAST(static_cast,u_int16_t,(x)))
|
D | types.h | 141 typedef uint16_t u_int16_t; typedef
|
/bionic/libc/include/net/ |
D | ethernet.h | 73 u_int16_t ether_type;
|
/bionic/libc/kernel/uapi/linux/ |
D | coda.h | 61 typedef unsigned short u_int16_t; typedef 84 u_int16_t d_reclen;
|