Home
last modified time | relevance | path

Searched refs:u_int (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/external/tcpdump/
Dinterface.h143 extern int fn_printn(const u_char *, u_int, const u_char *);
144 extern int fn_printzp(const u_char *, u_int, const u_char *);
161 extern const char *isonsap_string(const u_char *, register u_int);
172 extern void ascii_print(const u_char *, u_int);
174 u_int, u_int);
175 extern void hex_and_ascii_print(const char *, const u_char *, u_int);
176 extern void hex_print_with_offset(const char *, const u_char *, u_int, u_int);
177 extern void hex_print(const char *, const u_char *, u_int);
178 extern void telnet_print(const u_char *, u_int);
179 extern int ether_encap_print(u_short, const u_char *, u_int, u_int, u_short *);
[all …]
Dnetdissect.h140 register const u_char *bp, register u_int length);
223 extern int fn_printn(const u_char *, u_int, const u_char *);
248 extern void eap_print(netdissect_options *,const u_char *, u_int);
252 extern void arp_print(netdissect_options *,const u_char *, u_int, u_int);
254 u_int, const u_char *);
256 u_int, const u_char *);
257 extern void ip_print(netdissect_options *,const u_char *, u_int);
259 const u_char *bp, u_int length, u_int nh,
264 extern void ascii_print(netdissect_options *,u_int);
266 u_int, u_int);
[all …]
Dprint-aodv.c56 aodv_extension(const struct aodv_ext *ep, u_int length) in aodv_extension()
58 u_int i; in aodv_extension()
67 i = min(length, (u_int)(snapend - (u_char *)ep)); in aodv_extension()
85 aodv_rreq(const union aodv *ap, const u_char *dat, u_int length) in aodv_rreq()
87 u_int i; in aodv_rreq()
93 i = min(length, (u_int)(snapend - dat)); in aodv_rreq()
117 aodv_rrep(const union aodv *ap, const u_char *dat, u_int length) in aodv_rrep()
119 u_int i; in aodv_rrep()
125 i = min(length, (u_int)(snapend - dat)); in aodv_rrep()
146 aodv_rerr(const union aodv *ap, const u_char *dat, u_int length) in aodv_rerr()
[all …]
Dprint-sl.c45 static u_int lastlen[2][256];
46 static u_int lastconn = 255;
48 static void sliplink_print(const u_char *, const struct ip *, u_int);
49 static void compressed_sl_print(const u_char *, const struct ip *, u_int, int);
51 u_int
54 register u_int caplen = h->caplen; in sl_if_print()
55 register u_int length = h->len; in sl_if_print()
86 u_int
89 register u_int caplen = h->caplen; in sl_bsdos_if_print()
90 register u_int length = h->len; in sl_bsdos_if_print()
[all …]
Dprint-fr.c44 static void frf15_print(const u_char *, u_int);
103 static int parse_q922_addr(const u_char *p, u_int *dlci, u_int *sdlcore, in parse_q922_addr()
104 u_int *addr_len, u_int8_t *flags) in parse_q922_addr()
167 static u_int
168 fr_hdrlen(const u_char *p, u_int addr_len) in fr_hdrlen()
177 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid) in fr_hdr_print()
203 u_int
206 register u_int length = h->len; in fr_if_print()
207 register u_int caplen = h->caplen; in fr_if_print()
220 u_int
[all …]
Dprint-arcnet.c41 u_int length, u_int caplen);
58 arcnet_print(const u_char *bp, u_int length, int phds, int flag, u_int seqid) in arcnet_print()
109 u_int
112 u_int caplen = h->caplen; in arcnet_if_print()
113 u_int length = h->len; in arcnet_if_print()
117 u_int seqid = 0; in arcnet_if_print()
197 u_int
200 u_int caplen = h->caplen; in arcnet_linux_if_print()
201 u_int length = h->len; in arcnet_linux_if_print()
256 u_int length, u_int caplen) in arcnet_encap_print()
/external/ipsec-tools/src/libipsec/
Dlibpfkey.h69 u_int type;
70 u_int satype;
71 u_int mode;
76 u_int wsize;
78 u_int e_type, e_keylen; /* Encryption alg and keylen */
79 u_int a_type, a_keylen; /* Authentication alg and key */
80 u_int flags;
103 int ipsec_check_keylen __P((u_int, u_int, u_int));
104 int ipsec_check_keylen2 __P((u_int, u_int, u_int));
105 int ipsec_get_keylen __P((u_int, u_int, struct sadb_alg *));
[all …]
Dpfkey.c58 static struct sadb_alg *findsupportedalg __P((u_int, u_int));
60 static int pfkey_send_x2 __P((int, u_int, u_int, u_int,
62 static int pfkey_send_x3 __P((int, u_int, u_int));
63 static int pfkey_send_x4 __P((int, u_int, struct sockaddr *, u_int,
64 struct sockaddr *, u_int, u_int, u_int64_t, u_int64_t,
66 static int pfkey_send_x5 __P((int, u_int, u_int32_t));
68 static caddr_t pfkey_setsadbmsg __P((caddr_t, caddr_t, u_int, u_int,
69 u_int, u_int32_t, pid_t));
70 static caddr_t pfkey_setsadbsa __P((caddr_t, caddr_t, u_int32_t, u_int,
71 u_int, u_int, u_int32_t));
[all …]
/external/openssh/
Dmonitor_wrap.h43 int mm_key_sign(Key *, u_char **, u_int *, u_char *, u_int);
52 int mm_key_verify(Key *, u_char *, u_int, u_char *, u_int);
67 u_int mm_do_pam_account(void);
69 int mm_sshpam_query(void *, char **, char **, u_int *, char ***, u_int **);
70 int mm_sshpam_respond(void *, u_int, char **);
91 int mm_newkeys_to_blob(int, u_char **, u_int *);
98 int mm_bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **);
99 int mm_bsdauth_respond(void *, u_int, char **);
102 int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **);
103 int mm_skey_respond(void *, u_int, char **);
[all …]
Dbuffer.h21 u_int alloc; /* Number of bytes allocated for data. */
22 u_int offset; /* Offset of first byte containing data. */
23 u_int end; /* Offset of last byte containing data. */
30 u_int buffer_len(const Buffer *);
33 void buffer_append(Buffer *, const void *, u_int);
34 void *buffer_append_space(Buffer *, u_int);
36 int buffer_check_alloc(Buffer *, u_int);
38 void buffer_get(Buffer *, void *, u_int);
40 void buffer_consume(Buffer *, u_int);
41 void buffer_consume_end(Buffer *, u_int);
[all …]
Djpake.h56 u_int client_id_len;
62 u_int server_id_len;
74 u_int h_k_cid_sessid_len;
78 u_int h_k_sid_sessid_len;
89 void jpake_step1(struct modp_group *, u_char **, u_int *,
91 u_char **, u_int *, u_char **, u_int *);
95 const u_char *, u_int, const u_char *, u_int,
96 const u_char *, u_int, const u_char *, u_int,
97 BIGNUM **, u_char **, u_int *);
100 const u_char *, u_int,
[all …]
Dkey.h65 u_int type; /* SSH2_CERT_TYPE_USER or SSH2_CERT_TYPE_HOST */
68 u_int nprincipals;
98 u_char *key_fingerprint_raw(Key *, enum fp_type, u_int *);
103 u_int key_size(const Key *);
105 Key *key_generate(int, u_int);
121 u_int key_curve_nid_to_bits(int);
130 Key *key_from_blob(const u_char *, u_int);
131 int key_to_blob(const Key *, u_char **, u_int *);
136 int key_sign(const Key *, u_char **, u_int *, const u_char *, u_int);
137 int key_verify(const Key *, const u_char *, u_int, const u_char *, u_int);
[all …]
Duidswap.c72 (u_int)pw->pw_uid, (u_int)pw->pw_gid, in temporarily_use_uid()
73 (u_int)saved_euid, (u_int)saved_egid); in temporarily_use_uid()
128 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid()
131 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid()
134 fatal("setegid %u: %.100s", (u_int)pw->pw_gid, in temporarily_use_uid()
137 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
146 debug("permanently_drop_suid: %u", (u_int)uid); in permanently_drop_suid()
149 fatal("setresuid %u: %.100s", (u_int)uid, strerror(errno)); in permanently_drop_suid()
152 fatal("setreuid %u: %.100s", (u_int)uid, strerror(errno)); in permanently_drop_suid()
156 fatal("seteuid %u: %.100s", (u_int)uid, strerror(errno)); in permanently_drop_suid()
[all …]
Dpacket.h32 void packet_set_encryption_key(const u_char *, u_int, int);
33 u_int packet_get_encryption_key(u_char *);
34 void packet_set_protocol_flags(u_int);
35 u_int packet_get_protocol_flags(void);
44 void packet_put_int(u_int value);
51 void packet_put_string(const void *buf, u_int len);
53 void packet_put_raw(const void *buf, u_int len);
59 void packet_process_incoming(const char *buf, u_int len);
63 u_int packet_get_char(void);
64 u_int packet_get_int(void);
[all …]
Dcipher.h71 u_int cipher_mask_ssh1(int);
77 void cipher_init(CipherContext *, Cipher *, const u_char *, u_int,
78 const u_char *, u_int, int);
79 void cipher_crypt(CipherContext *, u_char *, const u_char *, u_int);
82 u_int cipher_blocksize(const Cipher *);
83 u_int cipher_keylen(const Cipher *);
84 u_int cipher_is_cbc(const Cipher *);
86 u_int cipher_get_number(const Cipher *);
87 void cipher_get_keyiv(CipherContext *, u_char *, u_int);
Dchannels.h67 typedef u_char *channel_outfilter_fn(struct Channel *, u_char **, u_int *);
94 u_int istate; /* input from channel (state of receive half) */
95 u_int ostate; /* output to channel (state of transmit half) */
122 u_int remote_window;
123 u_int remote_maxpacket;
124 u_int local_window;
125 u_int local_window_max;
126 u_int local_consumed;
127 u_int local_maxpacket;
204 Channel *channel_new(char *, int, int, int, int, u_int, u_int, int, char *, int);
[all …]
Dbufaux.c81 buffer_get_int_ret(u_int *ret, Buffer *buffer) in buffer_get_int_ret()
92 u_int
95 u_int ret; in buffer_get_int()
139 buffer_put_int(Buffer *buffer, u_int value) in buffer_put_int()
165 buffer_get_string_ret(Buffer *buffer, u_int *length_ptr) in buffer_get_string_ret()
168 u_int len; in buffer_get_string_ret()
196 buffer_get_string(Buffer *buffer, u_int *length_ptr) in buffer_get_string()
206 buffer_get_cstring_ret(Buffer *buffer, u_int *length_ptr) in buffer_get_cstring_ret()
208 u_int length; in buffer_get_cstring_ret()
229 buffer_get_cstring(Buffer *buffer, u_int *length_ptr) in buffer_get_cstring()
[all …]
Dschnorr.h30 int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *);
34 void debug3_buf(const u_char *, u_int, const char *, ...)
44 const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p);
47 const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen,
48 u_char **sig, u_int *siglen);
51 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen,
56 const BIGNUM *g_x, const u_char *id, u_int idlen,
57 const u_char *sig, u_int siglen);
Dbuffer.c36 const u_int len = 4096; in buffer_init()
72 buffer_append(Buffer *buffer, const void *data, u_int len) in buffer_append()
103 buffer_append_space(Buffer *buffer, u_int len) in buffer_append_space()
105 u_int newlen; in buffer_append_space()
144 buffer_check_alloc(Buffer *buffer, u_int len) in buffer_check_alloc()
162 u_int
171 buffer_get_ret(Buffer *buffer, void *buf, u_int len) in buffer_get_ret()
184 buffer_get(Buffer *buffer, void *buf, u_int len) in buffer_get()
193 buffer_consume_ret(Buffer *buffer, u_int bytes) in buffer_consume_ret()
204 buffer_consume(Buffer *buffer, u_int bytes) in buffer_consume()
[all …]
/external/ipsec-tools/src/racoon/
Dpfkey.h47 extern void pfkey_flush_sadb __P((u_int));
66 extern u_int pfkey2ipsecdoi_proto __P((u_int));
67 extern u_int ipsecdoi2pfkey_proto __P((u_int));
68 extern u_int pfkey2ipsecdoi_mode __P((u_int));
69 extern u_int ipsecdoi2pfkey_mode __P((u_int));
71 extern int pfkey_convertfromipsecdoi __P(( u_int, u_int, u_int,
72 u_int *, u_int *, u_int *, u_int *, u_int *));
/external/fsck_msdos/
Ddosfs.h49 u_int BytesPerSec; /* bytes per sector */
50 u_int SecPerClust; /* sectors per cluster */
51 u_int ResSectors; /* number of reserved sectors */
52 u_int FATs; /* number of FATs */
53 u_int RootDirEnts; /* number of root directory entries */
54 u_int Media; /* media descriptor */
55 u_int FATsmall; /* number of sectors per FAT */
56 u_int SecPerTrack; /* sectors per track */
57 u_int Heads; /* number of heads */
61 u_int FSInfo; /* FSInfo sector */
[all …]
/external/qemu/slirp/
Dif.h46 u_int out_pkts; /* Output packets */
47 u_int out_bytes; /* Output bytes */
48 u_int out_errpkts; /* Output Error Packets */
49 u_int out_errbytes; /* Output Error Bytes */
50 u_int in_pkts; /* Input packets */
51 u_int in_bytes; /* Input bytes */
52 u_int in_errpkts; /* Input Error Packets */
53 u_int in_errbytes; /* Input Error Bytes */
55 u_int bytes_saved; /* Number of bytes that compression "saved" */
59 u_int in_mbad; /* Bad incoming packets */
/external/qemu/slirp-android/
Dif.h46 u_int out_pkts; /* Output packets */
47 u_int out_bytes; /* Output bytes */
48 u_int out_errpkts; /* Output Error Packets */
49 u_int out_errbytes; /* Output Error Bytes */
50 u_int in_pkts; /* Input packets */
51 u_int in_bytes; /* Input bytes */
52 u_int in_errpkts; /* Input Error Packets */
53 u_int in_errbytes; /* Input Error Bytes */
55 u_int bytes_saved; /* Number of bytes that compression "saved" */
59 u_int in_mbad; /* Bad incoming packets */
/external/tcpdump/lbl/
Dos-sunos4.h34 u_int fread(void *, u_int, u_int, FILE *);
36 u_int fwrite(const void *, u_int, u_int, FILE *);
47 int read(int, char *, u_int);
48 int write(int, char *, u_int);
57 int bcmp(const void *, const void *, u_int);
58 void bcopy(const void *, void *, u_int);
137 int recv(int, char *, u_int, int);
138 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *);
142 int send(int, char *, u_int, int);
143 int sendto(int, char *, u_int, int, struct sockaddr *, int);
/external/libpcap/lbl/
Dos-sunos4.h34 u_int fread(void *, u_int, u_int, FILE *);
36 u_int fwrite(const void *, u_int, u_int, FILE *);
47 int read(int, char *, u_int);
48 int write(int, char *, u_int);
57 int bcmp(const void *, const void *, u_int);
58 void bcopy(const void *, void *, u_int);
137 int recv(int, char *, u_int, int);
138 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *);
142 int send(int, char *, u_int, int);
143 int sendto(int, char *, u_int, int, struct sockaddr *, int);

12345678910>>...14