Searched refs:u_int16_t (Results 1 - 25 of 214) sorted by relevance

123456789

/external/libpcap/pcap/
H A Dvlan.h40 u_int16_t vlan_tpid; /* ETH_P_8021Q */
41 u_int16_t vlan_tci; /* VLAN TCI */
H A Dsll.h86 u_int16_t sll_pkttype; /* packet type */
87 u_int16_t sll_hatype; /* link-layer address type */
88 u_int16_t sll_halen; /* link-layer address length */
90 u_int16_t sll_protocol; /* protocol */
H A 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/tcpdump/
H A 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 */
H A Dlane.h30 u_int16_t le_header;
33 u_int16_t h_type;
37 u_int16_t lec_header;
40 u_int16_t lec_opcode;
H A Dsll.h86 u_int16_t sll_pkttype; /* packet type */
87 u_int16_t sll_hatype; /* link-layer address type */
88 u_int16_t sll_halen; /* link-layer address length */
90 u_int16_t sll_protocol; /* protocol */
H A 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 */
H A 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 locScop
[all...]
H A Darcnet.h51 u_int16_t arc_seqid;
58 u_int16_t arc_seqid2; /* real seqid value */
89 u_int16_t arc_offset;
97 u_int16_t arc_seqid;
H A Dether.h50 u_int16_t ether_type;
H A Dah.h43 u_int16_t ah_reserve; /* Reserved for future use */
51 u_int16_t ah_reserve; /* Reserved for future use */
H A 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 ai
[all...]
H A Dextract.h41 * Declare packed structures containing a u_int16_t and a u_int32_t,
68 * typedef u_int16_t unaligned_u_int16_t;
86 u_int16_t val;
93 static inline u_int16_t
96 return ((u_int16_t)ntohs(((const unaligned_u_int16_t *)(p))->val));
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)ntoh
[all...]
H A Dudp.h42 u_int16_t uh_sport; /* source port */
43 u_int16_t uh_dport; /* destination port */
44 u_int16_t uh_ulen; /* udp length */
45 u_int16_t uh_sum; /* udp checksum */
H A 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 lengt
[all...]
H A 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_chksu
[all...]
H A Din_cksum.c56 u_int16_t
59 register const u_int16_t *w;
66 u_int16_t s;
69 u_int16_t s[2];
76 w = (const u_int16_t *)(void *)vec->ptr;
88 w = (const u_int16_t *)(void *)((const u_int8_t *)w + 1);
99 w = (const u_int16_t *)(void *)((const u_int8_t *)w + 1);
156 u_int16_t
157 in_cksum_shouldbe(u_int16_t sum, u_int16_t computed_su
[all...]
H A 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_channe
[all...]
/external/qemu/slirp/
H A Dtftp.h19 u_int16_t tp_op;
22 u_int16_t tp_block_nr;
26 u_int16_t tp_error_code;
/external/qemu/slirp-android/
H A Dtftp.h19 u_int16_t tp_op;
22 u_int16_t tp_block_nr;
26 u_int16_t tp_error_code;
/external/iproute2/include/netinet/
H A 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 fi
[all...]
/external/ipsec-tools/src/racoon/
H A 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 fra
[all...]
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
H A Drijndael_local.h8 typedef u_int16_t word16;
/external/iproute2/lib/
H A Ddnet_pton.c8 static __inline__ u_int16_t dn_htons(u_int16_t addr)
12 u_int16_t word;
16 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8);
20 static int dnet_num(const char *src, u_int16_t * dst)
41 u_int16_t addr;
42 u_int16_t area = 0;
43 u_int16_t node = 0;
H A Ddnet_ntop.c8 static __inline__ u_int16_t dn_ntohs(u_int16_t addr)
12 u_int16_t word;
16 return ((u_int16_t)u.byte[0]) | (((u_int16_t)u.byte[1]) << 8);
19 static __inline__ int do_digit(char *str, u_int16_t *addr, u_int16_t scale, size_t *pos, size_t len, int *started)
21 u_int16_t tmp = *addr / scale;
39 u_int16_t addr, area;

Completed in 299 milliseconds

123456789