Home
last modified time | relevance | path

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

12345

/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/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 …]
Dsockmisc.h85 extern u_int16_t extract_port __P((const struct sockaddr *addr));
86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
87 extern u_int16_t *get_port_ptr __P((struct sockaddr *addr));
Dadmin.h47 u_int16_t ac_len; /* total packet length including data */
48 u_int16_t ac_cmd;
50 u_int16_t ac_proto;
Dlocalconf.h75 u_int16_t port_isakmp; /* port for isakmp as default */
76 u_int16_t port_isakmp_natt; /* port for NAT-T use */
77 u_int16_t port_admin; /* port for admin */
Dipsec_doi.h154 u_int16_t len;
155 u_int16_t reserved;
165 u_int16_t port; /* Port */
223 u_int8_t *, u_int16_t *));
Dpolicy.h45 u_int16_t ctx_strlen; /* Security Context stringlength
66 u_int16_t ul_proto; /* upper layer Protocol */
92 u_int16_t proto; /* IPPROTO_ESP or IPPROTO_AH */
/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.c403 Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, in Blowfish_stream2word()
404 u_int16_t *current) in Blowfish_stream2word()
407 u_int16_t j; in Blowfish_stream2word()
424 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state()
426 u_int16_t i; in Blowfish_expand0state()
427 u_int16_t j; in Blowfish_expand0state()
428 u_int16_t k; in Blowfish_expand0state()
462 Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, in Blowfish_expandstate()
463 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate()
465 u_int16_t i; in Blowfish_expandstate()
[all …]
Dgetrrsetbyname.c93 (s) = ((u_int16_t)t_cp[0] << 8) \
94 | ((u_int16_t)t_cp[1]) \
117 static u_int16_t
121 register u_int16_t u;
127 u_int16_t _getshort(register const u_char *);
150 u_int16_t type;
151 u_int16_t class;
157 u_int16_t type;
158 u_int16_t class;
159 u_int16_t ttl;
[all …]
Dbindresvport.c59 u_int16_t *portp; in bindresvport_sa()
60 u_int16_t port; in bindresvport_sa()
/external/autotest/client/tests/isic/
Disic-gcc41-fix.patch21 - (u_int16_t) payload[cx] = rand() & 0xffff;
22 - (u_int16_t) payload[payload_s] = rand() & 0xffff;
23 +/* (u_int16_t) payload[cx] = rand() & 0xffff;
24 + (u_int16_t) payload[payload_s] = rand() & 0xffff;*/
38 - (u_int16_t) payload[cx] = rand() & 0xffff;
39 +// (u_int16_t) payload[cx] = rand() & 0xffff;
51 - (u_int16_t) payload[cx] = rand() & 0xffff;
52 +// (u_int16_t) payload[cx] = rand() & 0xffff;
/external/ipsec-tools/src/libipsec/
Dlibpfkey.h87 u_int16_t l_natt_sport, l_natt_dport;
89 u_int16_t l_natt_frag;
92 u_int16_t ctxstrlen; /* length of security context string */
176 u_int8_t, u_int16_t, u_int16_t, struct sockaddr *, u_int16_t));
185 u_int8_t, u_int16_t, u_int16_t, struct sockaddr *, u_int16_t));
/external/libnfnetlink/include/libnfnetlink/
Dlibnfnetlink.h59 u_int16_t attr_count;
98 unsigned int, u_int8_t, u_int16_t, u_int16_t,
99 u_int16_t);
191 extern int nfnl_addattr16(struct nlmsghdr *, int, int, u_int16_t);
194 extern int nfnl_nfa_addattr16(struct nfattr *, int, int, u_int16_t);
207 u_int16_t type, u_int32_t len,
Dlinux_nfnetlink.h30 u_int16_t res_id; /* resource id */
62 const u_int16_t attr_count; /* number of nlattr's */
Dlinux_nfnetlink_compat.h23 u_int16_t nfa_len;
24 u_int16_t nfa_type; /* we use 15 bits for the type, and the highest
/external/dnsmasq/src/
Dnameser.h323 extern u_int16_t _getshort(const unsigned char*);
335 (s) = ((u_int16_t) t_cp[0] << 8) | ((u_int16_t) t_cp[1]); \
349 u_int16_t t_s = (u_int16_t)(s); \
/external/openssh/
Dsshbuf.h172 int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
176 int sshbuf_put_u16(struct sshbuf *buf, u_int16_t val);
185 u_int16_t *valp);
195 int sshbuf_poke_u16(struct sshbuf *buf, size_t offset, u_int16_t val);
326 (((u_int16_t)(((const u_char *)(p))[0]) << 8) | \
327 (u_int16_t)(((const u_char *)(p))[1]))
351 const u_int16_t __v = (v); \
/external/ltp/testcases/network/stress/ns-tools/
Dns-traffic.h130 u_int16_t p_ip6_zero1;
227 u_int16_t calc_checksum(u_int16_t *data, size_t size);
/external/usrsctp/usrsctplib/
Duser_ip_icmp.h61 u_int16_t icmp6_cksum;
64 u_int16_t icmp6_un_data16[2];
101 u_int16_t irt_lifetime;
/external/speex/include/speex/
Dspeexdsp_types.h63 typedef u_int16_t spx_uint16_t;
72 typedef u_int16_t spx_uint16_t;
/external/libogg/include/ogg/
Dos_types.h73 typedef u_int16_t ogg_uint16_t;
93 typedef u_int16_t ogg_uint16_t;

12345