Home
last modified time | relevance | path

Searched refs:u_int16_t (Results 1 – 25 of 219) 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.h125 u_int16_t fc;
126 u_int16_t duration;
130 u_int16_t seq_ctrl;
170 u_int16_t dwell_time;
187 u_int16_t max_duration;
188 u_int16_t dur_remaing;
228 u_int16_t beacon_interval;
229 u_int16_t listen_interval;
230 u_int16_t status_code;
231 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 …]
Dospf6.h101 u_int16_t ls_age;
102 u_int16_t ls_type;
106 u_int16_t ls_chksum;
107 u_int16_t ls_length;
113 u_int16_t lsa_p_mbz;
134 u_int16_t link_metric;
191 u_int16_t intra_ap_nprefix;
192 u_int16_t intra_ap_lstype;
207 u_int16_t tos_metric;
218 u_int16_t ospf6_len;
[all …]
Dospf.h145 u_int16_t ls_age;
157 u_int16_t ls_chksum;
158 u_int16_t ls_length;
171 u_int16_t rla_count;
177 u_int16_t link_tos0metric;
211 u_int16_t type;
212 u_int16_t length;
218 u_int16_t type;
219 u_int16_t length;
225 u_int16_t type;
[all …]
Dicmp6.h75 u_int16_t icmp6_cksum; /* checksum field */
78 u_int16_t icmp6_un_data16[2]; /* type-specific field */
299 u_int16_t nd_opt_rh_reserved1;
307 u_int16_t nd_opt_mtu_reserved;
314 u_int16_t nd_opt_adv_reserved;
321 u_int16_t nd_opt_hai_reserved;
323 u_int16_t nd_opt_hai_lifetime;
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))
[all …]
Dextract.h47 u_int16_t val;
55 ((u_int16_t)ntohs(((const unaligned_u_int16_t *)(p))->val))
69 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 0) << 8 | \
70 (u_int16_t)*((const u_int8_t *)(p) + 1)))
92 ((u_int16_t)ntohs(*(const u_int16_t *)(p)))
111 ((u_int16_t)((u_int16_t)*((const u_int8_t *)(p) + 1) << 8 | \
112 (u_int16_t)*((const u_int8_t *)(p) + 0)))
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 */
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;
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/qemu/slirp-android/
Dip_output.c43 u_int16_t ip_id;
97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output()
98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output()
99 ip->ip_off = htons((u_int16_t)ip->ip_off); in ip_output()
133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { in ip_output()
155 if (off + len >= (u_int16_t)ip->ip_len) in ip_output()
156 len = (u_int16_t)ip->ip_len - off; in ip_output()
159 mhip->ip_len = htons((u_int16_t)(len + mhlen)); in ip_output()
166 mhip->ip_off = htons((u_int16_t)mhip->ip_off); in ip_output()
178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len); in ip_output()
[all …]
Dip.h56 # define NTOHS(d) ((d) = ntohs((u_int16_t)(d)))
62 # define HTONS(d) ((d) = htons((u_int16_t)(d)))
86 u_int16_t ip_len; /* total length */
87 u_int16_t ip_id; /* identification */
88 u_int16_t ip_off; /* fragment offset field */
94 u_int16_t ip_sum; /* checksum */
205 u_int16_t ih_len; /* protocol length */
222 u_int16_t ipq_id; /* sequence id for reassembly */
293 extern u_int16_t ip_id; /* ip packet ctr, for ids */
/external/qemu/slirp/
Dip_output.c43 u_int16_t ip_id;
97 if ((u_int16_t)ip->ip_len <= IF_MTU) { in ip_output()
98 ip->ip_len = htons((u_int16_t)ip->ip_len); in ip_output()
99 ip->ip_off = htons((u_int16_t)ip->ip_off); in ip_output()
133 for (off = hlen + len; off < (u_int16_t)ip->ip_len; off += len) { in ip_output()
155 if (off + len >= (u_int16_t)ip->ip_len) in ip_output()
156 len = (u_int16_t)ip->ip_len - off; in ip_output()
159 mhip->ip_len = htons((u_int16_t)(len + mhlen)); in ip_output()
166 mhip->ip_off = htons((u_int16_t)mhip->ip_off); in ip_output()
178 m_adj(m, hlen + firstlen - (u_int16_t)ip->ip_len); in ip_output()
[all …]
Dip.h54 # define NTOHS(d) ((d) = ntohs((u_int16_t)(d)))
60 # define HTONS(d) ((d) = htons((u_int16_t)(d)))
84 u_int16_t ip_len; /* total length */
85 u_int16_t ip_id; /* identification */
86 u_int16_t ip_off; /* fragment offset field */
92 u_int16_t ip_sum; /* checksum */
203 u_int16_t ih_len; /* protocol length */
220 u_int16_t ipq_id; /* sequence id for reassembly */
291 extern u_int16_t ip_id; /* ip packet ctr, for ids */
/external/kernel-headers/original/linux/netfilter/
Dx_tables.h11 u_int16_t match_size;
19 u_int16_t match_size;
26 u_int16_t match_size;
36 u_int16_t target_size;
44 u_int16_t target_size;
51 u_int16_t target_size;
86 u_int16_t u16;
336 u_int16_t match_size;
341 u_int16_t match_size;
344 u_int16_t match_size;
[all …]
Dxt_dccp.h12 u_int16_t dpts[2]; /* Min, Max */
13 u_int16_t spts[2]; /* Min, Max */
15 u_int16_t flags;
16 u_int16_t invflags;
18 u_int16_t typemask;
/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 …]
/external/kernel-headers/original/linux/netfilter_ipv4/
Dip_conntrack_tuple.h20 u_int16_t all;
26 u_int16_t port;
29 u_int16_t id;
32 u_int16_t port;
56 u_int16_t all;
59 u_int16_t port;
62 u_int16_t port;
68 u_int16_t port;

123456789