Home
last modified time | relevance | path

Searched refs:u_int16_t (Results 1 – 25 of 202) sorted by relevance

123456789

/external/iproute2/include/netinet/
Dtcp.h65 u_int16_t th_sport; /* source port */
66 u_int16_t th_dport; /* destination port */
84 u_int16_t th_win; /* window */
85 u_int16_t th_sum; /* checksum */
86 u_int16_t th_urp; /* urgent pointer */
92 u_int16_t source;
93 u_int16_t dest;
97 u_int16_t res1:4;
98 u_int16_t doff:4;
99 u_int16_t fin:1;
[all …]
/external/tcpdump/
DsctpHeader.h63 u_int16_t source;
64 u_int16_t destination;
74 u_int16_t chunkLength;
78 u_int16_t paramType;
79 u_int16_t paramLength;
91 u_int16_t vendorSpecificType;
92 u_int16_t vendorSpecificLen;
106 u_int16_t NumPreopenStreams; /* OS */
107 u_int16_t MaxInboundStreams; /* MIS */
149 u_int16_t locScope; /* V6 local scope flag */
[all …]
Dieee802_11.h129 u_int16_t fc;
130 u_int16_t duration;
134 u_int16_t seq_ctrl;
168 u_int16_t dwell_time;
185 u_int16_t max_duration;
186 u_int16_t dur_remaing;
226 u_int16_t beacon_interval;
227 u_int16_t listen_interval;
228 u_int16_t status_code;
229 u_int16_t aid;
[all …]
Dprint-pptp.c94 u_int16_t length;
95 u_int16_t msg_type;
97 u_int16_t ctrl_msg_type;
98 u_int16_t reserved0;
102 u_int16_t proto_ver;
103 u_int16_t reserved1;
106 u_int16_t max_channel;
107 u_int16_t firm_rev;
113 u_int16_t proto_ver;
118 u_int16_t max_channel;
[all …]
Dicmp6.h75 u_int16_t icmp6_cksum; /* checksum field */
78 u_int16_t icmp6_un_data16[2]; /* type-specific field */
300 u_int16_t nd_opt_rh_reserved1;
308 u_int16_t nd_opt_mtu_reserved;
315 u_int16_t nd_opt_rdnss_reserved;
323 u_int16_t nd_opt_dnssl_reserved;
331 u_int16_t nd_opt_adv_reserved;
338 u_int16_t nd_opt_hai_reserved;
340 u_int16_t nd_opt_hai_lifetime;
390 #define NI_SUPTYPE_FLAG_COMPRESS ((u_int16_t)htons(0x1))
[all …]
Dospf6.h97 u_int16_t ls_age;
98 u_int16_t ls_type;
102 u_int16_t ls_chksum;
103 u_int16_t ls_length;
109 u_int16_t lsa_p_metric;
130 u_int16_t link_metric;
187 u_int16_t intra_ap_nprefix;
188 u_int16_t intra_ap_lstype;
205 u_int16_t ospf6_len;
208 u_int16_t ospf6_chksum;
[all …]
Dospf.h166 u_int16_t ls_age;
178 u_int16_t ls_chksum;
179 u_int16_t ls_length;
192 u_int16_t rla_count;
230 u_int16_t type;
231 u_int16_t length;
237 u_int16_t type;
238 u_int16_t length;
244 u_int16_t type;
245 u_int16_t length;
[all …]
Dextract.h86 u_int16_t val;
93 static inline u_int16_t
96 return ((u_int16_t)ntohs(((const unaligned_u_int16_t *)(p))->val)); in EXTRACT_16BITS()
121 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 0) << 8 | \
122 (u_int16_t)*((const u_int8_t *)(p) + 1)))
143 static inline u_int16_t
146 return ((u_int16_t)ntohs(*(const u_int16_t *)(p))); in EXTRACT_16BITS()
176 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \
177 (u_int16_t)*((const u_int8_t *)(p) + 0)))
Dprint-forces.c67 u_int16_t flags;
68 u_int16_t op_msk;
71 u_int16_t op_msk, int indent);
178 u_int16_t fm_len; /* total length * 4 bytes */
247 u_int16_t flags;
248 u_int16_t op_msk;
251 u_int16_t op_msk, int indent);
255 u_int16_t op_msk, int indent);
257 u_int16_t op_msk, int indent);
259 u_int16_t op_msk, int indent);
[all …]
Din_cksum.c56 u_int16_t
59 register const u_int16_t *w; in in_cksum()
66 u_int16_t s; in in_cksum()
69 u_int16_t s[2]; in in_cksum()
76 w = (const u_int16_t *)(void *)vec->ptr; in in_cksum()
88 w = (const u_int16_t *)(void *)((const u_int8_t *)w + 1); in in_cksum()
99 w = (const u_int16_t *)(void *)((const u_int8_t *)w + 1); in in_cksum()
156 u_int16_t
157 in_cksum_shouldbe(u_int16_t sum, u_int16_t computed_sum) in in_cksum_shouldbe()
Dprint-l2tp.c255 print_16bits_val(const u_int16_t *dat) in print_16bits_val()
272 u_int16_t *ptr = (u_int16_t*)dat; in l2tp_msgtype_print()
281 u_int16_t *ptr = (u_int16_t *)dat; in l2tp_result_code_print()
294 l2tp_proto_ver_print(const u_int16_t *dat) in l2tp_proto_ver_print()
329 print_16bits_val((u_int16_t *)dat); in l2tp_q931_cc_print()
372 u_int16_t *ptr = (u_int16_t *)dat; in l2tp_proxy_auth_type_print()
381 u_int16_t *ptr = (u_int16_t *)dat; in l2tp_proxy_auth_id_print()
389 u_int16_t *ptr = (u_int16_t *)dat; in l2tp_call_errors_print()
390 u_int16_t val_h, val_l; in l2tp_call_errors_print()
422 u_int16_t *ptr = (u_int16_t *)dat; in l2tp_accm_print()
[all …]
Dipx.h18 u_int16_t cksum; /* Checksum */
19 u_int16_t length; /* Length, in bytes, including header */
22 u_int16_t dstNet[2]; /* destination net */
24 u_int16_t dstSkt; /* destination socket */
25 u_int16_t srcNet[2]; /* source net */
27 u_int16_t srcSkt; /* source socket */
Disakmp.h166 u_int16_t len; /* Payload Length */
180 u_int16_t type; /* defined by DOI-spec, and Attribute Format */
181 u_int16_t lorv; /* if f equal 1, Attribute Length */
236 u_int16_t reserved; /* RESERVED2 */
322 u_int16_t type; /* Notify Message Type */
366 u_int16_t num_spi; /* # of SPIs */
406 u_int16_t t_id; /* Transform ID */
420 u_int16_t ke_group;
421 u_int16_t ke_res1;
440 u_int16_t res2;
[all …]
Dappletalk.h38 u_int16_t length;
39 u_int16_t checksum;
40 u_int16_t dstNet;
41 u_int16_t srcNet;
50 u_int16_t length;
79 u_int16_t transID;
116 u_int16_t net;
Dchecksum.c58 static const u_int16_t crc10_table[256] =
99 register u_int16_t accum; in init_crc10_table()
100 u_int16_t verify_crc10_table[256]; in init_crc10_table()
117 u_int16_t
118 verify_crc10_cksum(u_int16_t accum, const u_char *p, int length) in verify_crc10_cksum()
143 u_int16_t
152 u_int16_t checksum; in create_osi_cksum()
Dnameser.h228 u_int16_t id; /* query identification number */
231 u_int16_t qdcount; /* number of question entries */
232 u_int16_t ancount; /* number of answer entries */
233 u_int16_t nscount; /* number of authority entries */
234 u_int16_t arcount; /* number of resource entries */
280 (s) = ((u_int16_t)t_cp[0] << 8) | (u_int16_t)t_cp[1]; \
294 register u_int16_t t_s = (u_int16_t)(s); \
Digrp.h11 u_int16_t ig_as; /* autonomous system number */
12 u_int16_t ig_ni; /* number of subnet in local net */
13 u_int16_t ig_ns; /* number of networks in AS */
14 u_int16_t ig_nx; /* number of networks ouside AS */
15 u_int16_t ig_sum; /* checksum of IGRP header & data */
/external/ipsec-tools/src/racoon/
Dnattraversal.h60 u_int16_t float_port;
61 u_int16_t mode_udp_tunnel;
62 u_int16_t mode_udp_transport;
63 u_int16_t encaps_type; /* ESPINUDP / ESPINUDP_NON_IKE */
64 u_int16_t mode_udp_diff;
65 u_int16_t payload_nat_d;
66 u_int16_t payload_nat_oa;
71 u_int16_t sport;
72 u_int16_t dport;
74 u_int16_t frag;
Disakmp.h160 u_int16_t len; /* Payload Length */
174 u_int16_t type; /* defined by DOI-spec, and Attribute Format */
175 u_int16_t lorv; /* if f equal 1, Attribute Length */
222 u_int16_t reserved; /* RESERVED2 */
316 u_int16_t type; /* Notify Message Type */
380 u_int16_t num_spi; /* # of SPIs */
396 u_int16_t id; /* Per transaction id */
407 u_int16_t unknown0; /* always set to zero? */
408 u_int16_t len;
409 u_int16_t unknown1; /* always set to 1? */
[all …]
/external/iproute2/lib/
Ddnet_pton.c8 static __inline__ u_int16_t dn_htons(u_int16_t addr) in dn_htons()
12 u_int16_t word; in dn_htons()
16 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8); in dn_htons()
20 static int dnet_num(const char *src, u_int16_t * dst) in dnet_num()
41 u_int16_t addr; in dnet_pton1()
42 u_int16_t area = 0; in dnet_pton1()
43 u_int16_t node = 0; in dnet_pton1()
Ddnet_ntop.c8 static __inline__ u_int16_t dn_ntohs(u_int16_t addr) in dn_ntohs()
12 u_int16_t word; in dn_ntohs()
16 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8); in dn_ntohs()
19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len… in do_digit()
21 u_int16_t tmp = *addr / scale; in do_digit()
39 u_int16_t addr, area; in dnet_ntop1()
/external/openssh/openbsd-compat/
Dblf.h67 void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
69 (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
73 void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
74 void blf_enc(blf_ctx *, u_int32_t *, u_int16_t);
75 void blf_dec(blf_ctx *, u_int32_t *, u_int16_t);
84 u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *);
Dblowfish.c401 Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, in Blowfish_stream2word()
402 u_int16_t *current) in Blowfish_stream2word()
405 u_int16_t j; in Blowfish_stream2word()
422 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state()
424 u_int16_t i; in Blowfish_expand0state()
425 u_int16_t j; in Blowfish_expand0state()
426 u_int16_t k; in Blowfish_expand0state()
460 Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, in Blowfish_expandstate()
461 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate()
463 u_int16_t i; in Blowfish_expandstate()
[all …]
/external/libpcap/pcap/
Dnflog.h45 u_int16_t nflog_rid; /* resource ID */
49 u_int16_t tlv_length; /* tlv length */
50 u_int16_t tlv_type; /* tlv type */
55 u_int16_t hw_protocol; /* hw protocol */
61 u_int16_t hw_addrlen; /* address length */
62 u_int16_t pad; /* padding to 32-bit boundary */
/external/libusb-compat/libusb/
Dusb.h89 u_int16_t wData[1];
96 u_int16_t bcdHID;
111 u_int16_t wMaxPacketSize;
160 u_int16_t wTotalLength;
177 u_int16_t bcdUSB;
182 u_int16_t idVendor;
183 u_int16_t idProduct;
184 u_int16_t bcdDevice;
194 u_int16_t wValue;
195 u_int16_t wIndex;
[all …]

123456789