Home
last modified time | relevance | path

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

12345678910>>...16

/external/tcpdump/
Dnetdissect.h110 u_int v; /* value */
114 extern const char *tok2strbuf(const struct tok *, const char *, u_int,
118 extern const char *tok2str(const struct tok *, const char *, u_int);
119 extern char *bittok2str(const struct tok *, const char *, u_int);
120 extern char *bittok2str_nosep(const struct tok *, const char *, u_int);
140 typedef u_int (*if_printer) IF_PRINTER_ARGS;
184 register const u_char *bp, register u_int length);
330 extern u_int fn_printztn(netdissect_options *ndo, const u_char *, u_int, const u_char *);
331 extern int fn_printn(netdissect_options *, const u_char *, u_int, const u_char *);
332 extern int fn_printzp(netdissect_options *, const u_char *, u_int, const u_char *);
[all …]
Dprint-tipc.c162 u_int user; in print_payload()
163 u_int hsize; in print_payload()
164 u_int msize; in print_payload()
165 u_int mtype; in print_payload()
166 u_int broadcast_ack; in print_payload()
167 u_int link_ack; in print_payload()
168 u_int link_seq; in print_payload()
169 u_int prev_node; in print_payload()
170 u_int orig_port; in print_payload()
171 u_int dest_port; in print_payload()
[all …]
Dprint-fr.c41 static void frf15_print(netdissect_options *ndo, const u_char *, u_int);
102 const u_char *p, u_int *dlci, in parse_q922_addr()
103 u_int *addr_len, uint8_t *flags, u_int length) in parse_q922_addr()
148 q922_string(netdissect_options *ndo, const u_char *p, u_int length) in q922_string()
151 static u_int dlci, addr_len; in q922_string()
192 int length, u_int addr_len, u_int dlci, uint8_t *flags, uint16_t nlpid) in fr_hdr_print()
218 u_int
222 register u_int length = h->len; in fr_if_print()
223 register u_int caplen = h->caplen; in fr_if_print()
236 u_int
[all …]
Dprint-sflow.c301 const u_char *pointer, u_int len) in print_sflow_counter_generic()
350 const u_char *pointer, u_int len) in print_sflow_counter_ethernet()
384 const u_char *pointer _U_, u_int len _U_) in print_sflow_counter_token_ring()
391 const u_char *pointer, u_int len) in print_sflow_counter_basevg()
431 const u_char *pointer, u_int len) in print_sflow_counter_vlan()
465 const u_char *pointer, u_int len) in print_sflow_counter_processor()
490 const u_char *pointer, u_int len, u_int records) in sflow_print_counter_records()
492 u_int nrecords; in sflow_print_counter_records()
494 u_int tlen; in sflow_print_counter_records()
495 u_int counter_type; in sflow_print_counter_records()
[all …]
Dprint-ascii.c59 const u_char *cp, u_int length) in ascii_print()
61 u_int caplength; in ascii_print()
95 register const u_char *cp, register u_int length, register u_int oset) in hex_and_ascii_print_with_offset()
97 u_int caplength; in hex_and_ascii_print_with_offset()
98 register u_int i; in hex_and_ascii_print_with_offset()
146 register const u_char *cp, register u_int length) in hex_and_ascii_print()
156 const char *ident, const u_char *cp, u_int length, in hex_print_with_offset()
157 u_int oset) in hex_print_with_offset()
159 u_int caplength; in hex_print_with_offset()
160 register u_int i, s; in hex_print_with_offset()
[all …]
Dprint-sl.c52 static u_int lastlen[2][256];
53 static u_int lastconn = 255;
55 static void sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int);
56 static void compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int…
58 u_int
62 register u_int caplen = h->caplen; in sl_if_print()
63 register u_int length = h->len; in sl_if_print()
98 u_int
102 register u_int caplen = h->caplen; in sl_bsdos_if_print()
103 register u_int length = h->len; in sl_bsdos_if_print()
[all …]
Dutil-print.c128 u_int
130 register const u_char *s, register u_int n, register const u_char *ep) in fn_printztn()
132 register u_int bytes; in fn_printztn()
179 register const u_char *s, register u_int n, register const u_char *ep) in fn_printn()
208 register const u_char *s, register u_int n, in fn_printzp()
399 static const u_int seconds[] = {31536000, 604800, 86400, 3600, 60, 1}; in unsigned_relts_print()
401 const u_int *s = seconds; in unsigned_relts_print()
483 register u_int v, char *buf, size_t bufsize) in tok2strbuf()
504 register u_int v) in tok2str()
522 register u_int v, const char *sep) in bittok2str_internal()
[all …]
Dprint-forces.c69 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
233 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len,
237 static int genoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
239 static int recpdoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
241 static int invoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
417 static inline u_int tlv_valid(const struct forces_tlv *tlv, u_int rlen) in tlv_valid()
431 static inline int ilv_valid(const struct forces_ilv *ilv, u_int rlen) in ilv_valid()
445 static int lfbselect_print(netdissect_options *, register const u_char * pptr, register u_int len,
447 static int redirect_print(netdissect_options *, register const u_char * pptr, register u_int len,
449 static int asrtlv_print(netdissect_options *, register const u_char * pptr, register u_int len,
[all …]
/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/
Dcipher.h68 u_int cipher_mask_ssh1(int);
77 const u_char *, u_int, const u_char *, u_int, int);
78 int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *,
79 u_int, u_int, u_int);
80 int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int,
81 const u_char *, u_int);
85 u_int cipher_blocksize(const struct sshcipher *);
86 u_int cipher_keylen(const struct sshcipher *);
87 u_int cipher_seclen(const struct sshcipher *);
88 u_int cipher_authlen(const struct sshcipher *);
[all …]
Dbuffer.h34 #define buffer_len(b) ((u_int) sshbuf_len(b))
37 void buffer_append(Buffer *, const void *, u_int);
38 void *buffer_append_space(Buffer *, u_int);
39 int buffer_check_alloc(Buffer *, u_int);
40 void buffer_get(Buffer *, void *, u_int);
42 void buffer_consume(Buffer *, u_int);
43 void buffer_consume_end(Buffer *, u_int);
46 int buffer_get_ret(Buffer *, void *, u_int);
47 int buffer_consume_ret(Buffer *, u_int);
48 int buffer_consume_end_ret(Buffer *, u_int);
[all …]
Duidswap.c77 (u_int)pw->pw_uid, (u_int)pw->pw_gid, in temporarily_use_uid()
78 (u_int)saved_euid, (u_int)saved_egid); in temporarily_use_uid()
131 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid()
134 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid()
137 fatal("setegid %u: %.100s", (u_int)pw->pw_gid, in temporarily_use_uid()
140 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
151 debug("permanently_drop_suid: %u", (u_int)uid); in permanently_drop_suid()
153 fatal("setresuid %u: %.100s", (u_int)uid, strerror(errno)); in permanently_drop_suid()
171 __func__, (u_int)getuid(), (u_int)geteuid(), (u_int)uid); in permanently_drop_suid()
190 debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); in restore_uid()
[all …]
Dmonitor_wrap.h43 int mm_key_sign(Key *, u_char **, u_int *, const u_char *, u_int, const char *);
52 int mm_key_verify(Key *, u_char *, u_int, u_char *, u_int);
64 u_int mm_do_pam_account(void);
66 int mm_sshpam_query(void *, char **, char **, u_int *, char ***, u_int **);
67 int mm_sshpam_respond(void *, u_int, char **);
84 int mm_newkeys_to_blob(int, u_char **, u_int *);
91 int mm_bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **);
92 int mm_bsdauth_respond(void *, u_int, char **);
95 int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **);
96 int mm_skey_respond(void *, u_int, char **);
Dchannels.h73 typedef u_char *channel_outfilter_fn(struct Channel *, u_char **, u_int *);
100 u_int istate; /* input from channel (state of receive half) */
101 u_int ostate; /* output to channel (state of transmit half) */
132 u_int remote_window;
133 u_int remote_maxpacket;
134 u_int local_window;
135 u_int local_window_max;
136 u_int local_consumed;
137 u_int local_maxpacket;
216 Channel *channel_new(char *, int, int, int, int, u_int, u_int, int, char *, int);
[all …]
Dcipher-chachapoly.h32 const u_char *key, u_int keylen)
34 int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr,
35 u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen,
38 u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
Dauth.h71 u_int num_auth_methods;
83 u_int nprev_userkeys;
110 u_int *numprompts, char ***prompts, u_int **echo_on);
111 int (*respond)(void *ctx, u_int numresp, char **responses);
172 int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **);
173 int bsdauth_respond(void *, u_int, char **);
174 int skey_query(void *, char **, char **, u_int *, char ***, u_int **);
175 int skey_respond(void *, u_int, char **);
200 const u_char *, size_t, const char *, u_int);
Dcipher.c72 u_int block_size;
73 u_int key_len;
74 u_int iv_len; /* defaults to block_size */
75 u_int auth_len;
76 u_int discard_len;
77 u_int flags;
172 u_int
178 u_int
184 u_int
192 u_int
[all …]
Dbuffer.c30 buffer_append(Buffer *buffer, const void *data, u_int len) in buffer_append()
39 buffer_append_space(Buffer *buffer, u_int len) in buffer_append_space()
50 buffer_check_alloc(Buffer *buffer, u_int len) in buffer_check_alloc()
62 buffer_get_ret(Buffer *buffer, void *buf, u_int len) in buffer_get_ret()
74 buffer_get(Buffer *buffer, void *buf, u_int len) in buffer_get()
81 buffer_consume_ret(Buffer *buffer, u_int bytes) in buffer_consume_ret()
93 buffer_consume(Buffer *buffer, u_int bytes) in buffer_consume()
100 buffer_consume_end_ret(Buffer *buffer, u_int bytes) in buffer_consume_end_ret()
112 buffer_consume_end(Buffer *buffer, u_int bytes) in buffer_consume_end()
Dservconf.h58 u_int num_ports;
59 u_int ports_from_cmdline;
61 u_int num_queued_listens;
129 u_int num_allow_users;
131 u_int num_deny_users;
133 u_int num_allow_groups;
135 u_int num_deny_groups;
138 u_int num_subsystems;
143 u_int num_accept_env;
163 u_int num_authkeys_files; /* Files containing public keys */
[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.h46 u_int bpbBytesPerSec; /* bytes per sector */
47 u_int bpbSecPerClust; /* sectors per cluster */
48 u_int bpbResSectors; /* number of reserved sectors */
49 u_int bpbFATs; /* number of bpbFATs */
50 u_int bpbRootDirEnts; /* number of root directory entries */
52 u_int bpbMedia; /* media descriptor */
53 u_int bpbFATsmall; /* number of sectors per FAT */
54 u_int SecPerTrack; /* sectors per track */
55 u_int bpbHeads; /* number of heads */
59 u_int bpbFSInfo; /* FSInfo sector */
[all …]
/external/libpcap/lbl/
Dos-sunos4.h32 u_int fread(void *, u_int, u_int, FILE *);
34 u_int fwrite(const void *, u_int, u_int, FILE *);
45 int read(int, char *, u_int);
46 int write(int, char *, u_int);
55 int bcmp(const void *, const void *, u_int);
56 void bcopy(const void *, void *, u_int);
134 int recv(int, char *, u_int, int);
135 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *);
139 int send(int, char *, u_int, int);
140 int sendto(int, char *, u_int, int, struct sockaddr *, int);
/external/tcpdump/lbl/
Dos-sunos4.h32 u_int fread(void *, u_int, u_int, FILE *);
34 u_int fwrite(const void *, u_int, u_int, FILE *);
45 int read(int, char *, u_int);
46 int write(int, char *, u_int);
55 int bcmp(const void *, const void *, u_int);
56 void bcopy(const void *, void *, u_int);
135 int recv(int, char *, u_int, int);
136 int recvfrom(int, char *, u_int, int, struct sockaddr *, int *);
140 int send(int, char *, u_int, int);
141 int sendto(int, char *, u_int, int, struct sockaddr *, int);
/external/libpcap/
Dpcap-common.h38 (((((u_int)(y))&0xff)<<24) | \
39 ((((u_int)(y))&0xff00)<<8) | \
40 ((((u_int)(y))&0xff0000)>>8) | \
41 ((((u_int)(y))>>24)&0xff))
43 ((u_short)(((((u_int)(y))&0xff)<<8) | \
44 ((((u_int)(y))&0xff00)>>8)))
53 extern u_int max_snaplen_for_dlt(int dlt);

12345678910>>...16