Home
last modified time | relevance | path

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

1234

/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/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 */
Dsll.h84 u_int16_t sll_pkttype; /* packet type */
85 u_int16_t sll_hatype; /* link-layer address type */
86 u_int16_t sll_halen; /* link-layer address length */
88 u_int16_t sll_protocol; /* protocol */
Dusb.h60 u_int16_t wValue;
61 u_int16_t wIndex;
62 u_int16_t wLength;
83 u_int16_t bus_id;
108 u_int16_t bus_id;
Dvlan.h38 u_int16_t vlan_tpid; /* ETH_P_8021Q */
39 u_int16_t vlan_tci; /* VLAN TCI */
Dbluetooth.h50 u_int16_t adapter_id;
51 u_int16_t opcode;
/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/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/dnsmasq/src/
Dnameser.h325 extern u_int16_t _getshort(const unsigned char *);
336 (s) = ((u_int16_t)t_cp[0] << 8) \
337 | ((u_int16_t)t_cp[1]) \
353 u_int16_t t_s = (u_int16_t)(s); \
/external/libpcap/
Dpcap-netfilter-linux.c84 static int nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t v…
240 u_int16_t nfa_len;
241 u_int16_t nfa_type;
246 netfilter_send_config_msg(const pcap_t *handle, u_int16_t msg_type, int ack, u_int8_t family, u_int… in netfilter_send_config_msg()
327 nflog_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_nf… in nflog_send_config_msg()
333 nflog_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int8_t family) in nflog_send_config_cmd()
348 nflog_send_config_mode(const pcap_t *handle, u_int16_t group_id, u_int8_t copy_mode, u_int32_t copy… in nflog_send_config_mode()
364 nfqueue_send_verdict(const pcap_t *handle, u_int16_t group_id, u_int32_t id, u_int32_t verdict) in nfqueue_send_verdict()
380 nfqueue_send_config_msg(const pcap_t *handle, u_int8_t family, u_int16_t group_id, const struct my_… in nfqueue_send_config_msg()
386 nfqueue_send_config_cmd(const pcap_t *handle, u_int16_t group_id, u_int8_t cmd, u_int16_t pf) in nfqueue_send_config_cmd()
[all …]
/external/libpcap/Win32/Include/arpa/
Dnameser.h315 (s) = ((u_int16_t)t_cp[0] << 8) \
316 | ((u_int16_t)t_cp[1]) \
332 register u_int16_t t_s = (u_int16_t)(s); \
/external/iptables/include/linux/netfilter_ipv4/
Dip_tables.h76 u_int16_t proto;
109 u_int16_t target_offset;
111 u_int16_t next_offset;
/external/strace/
Dquota.c157 u_int16_t d_fieldmask; /* field specifier */
167 u_int16_t d_iwarns; /* # warnings issued wrt num inodes */
168 u_int16_t d_bwarns; /* # warnings issued wrt disk blocks */
174 u_int16_t d_rtbwarns; /* # warnings issued wrt RT disk blks */
241 u_int16_t qs_flags; /* XFS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} */
249 u_int16_t qs_bwarnlimit; /* limit for num warnings */
250 u_int16_t qs_iwarnlimit; /* limit for num warnings */
/external/iproute2/include/
Diptables_common.h48 #define __be16 u_int16_t
49 #define __le16 u_int16_t
/external/iptables/include/linux/netfilter_ipv6/
Dip6_tables.h76 u_int16_t proto;
113 u_int16_t target_offset;
115 u_int16_t next_offset;

1234