Home
last modified time | relevance | path

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

12345678910>>...17

/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-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 …]
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 …]
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 …]
Dprint-arcnet.c105 u_int length, u_int caplen);
122 arcnet_print(netdissect_options *ndo, const u_char *bp, u_int length, int phds, in arcnet_print()
123 int flag, u_int seqid) in arcnet_print()
174 u_int
177 u_int caplen = h->caplen; in arcnet_if_print()
178 u_int length = h->len; in arcnet_if_print()
182 u_int seqid = 0; in arcnet_if_print()
262 u_int
265 u_int caplen = h->caplen; in arcnet_linux_if_print()
266 u_int length = h->len; in arcnet_linux_if_print()
[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/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/openssh/
Dcipher.h59 const u_char *, u_int, const u_char *, u_int, int);
60 int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *,
61 u_int, u_int, u_int);
62 int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int,
63 const u_char *, u_int);
65 u_int cipher_blocksize(const struct sshcipher *);
66 u_int cipher_keylen(const struct sshcipher *);
67 u_int cipher_seclen(const struct sshcipher *);
68 u_int cipher_authlen(const struct sshcipher *);
69 u_int cipher_ivlen(const struct sshcipher *);
[all …]
Duidswap.c83 (u_int)pw->pw_uid, (u_int)pw->pw_gid, in temporarily_use_uid()
84 (u_int)saved_euid, (u_int)saved_egid); in temporarily_use_uid()
140 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid()
143 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid()
146 fatal("setegid %u: %.100s", (u_int)pw->pw_gid, in temporarily_use_uid()
149 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
168 debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); in restore_uid()
171 fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()
173 fatal("setegid %u: %.100s", (u_int)saved_egid, strerror(errno)); in restore_uid()
211 debug("permanently_set_uid: %u/%u", (u_int)pw->pw_uid, in permanently_set_uid()
[all …]
Dservconf.h76 u_int num_ports;
77 u_int ports_from_cmdline;
80 u_int num_queued_listens;
82 u_int num_listen_addrs;
89 u_int num_host_key_files; /* Number of files for host keys. */
91 u_int num_host_cert_files; /* Number of files for host certs. */
155 u_int num_allow_users;
157 u_int num_deny_users;
159 u_int num_allow_groups;
161 u_int num_deny_groups;
[all …]
Dmonitor_wrap.h49 const u_char *, size_t, const char *, const char *, u_int compat);
61 const u_char *, size_t, const char *, u_int, struct sshkey_sig_details **);
73 u_int mm_do_pam_account(void);
75 int mm_sshpam_query(void *, char **, char **, u_int *, char ***, u_int **);
76 int mm_sshpam_respond(void *, u_int, char **);
93 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 **);
Dcipher-chachapoly.h29 struct chachapoly_ctx *chachapoly_new(const u_char *key, u_int keylen)
33 int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr,
34 u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen,
37 u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
Dchannels.h122 u_int istate; /* input from channel (state of receive half) */
123 u_int ostate; /* output to channel (state of transmit half) */
155 u_int remote_window;
156 u_int remote_maxpacket;
157 u_int local_window;
158 u_int local_window_max;
159 u_int local_consumed;
160 u_int local_maxpacket;
245 Channel *channel_by_remote_id(struct ssh *, u_int);
248 u_int, u_int, int, char *, int);
[all …]
Dsshkey.h110 u_int type; /* SSH2_CERT_TYPE_USER or SSH2_CERT_TYPE_HOST */
113 u_int nprincipals;
179 u_int sshkey_size(const struct sshkey *);
181 int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
206 const u_char *, size_t, const char *, const char *, u_int, void *);
213 u_int sshkey_curve_nid_to_bits(int);
237 const u_char *, size_t, const char *, const char *, u_int);
239 const u_char *, size_t, const char *, u_int, struct sshkey_sig_details **);
291 const u_char *data, size_t datalen, u_int compat);
294 const u_char *data, size_t datalen, u_int compat);
[all …]
Dcipher.c69 u_int block_size;
70 u_int key_len;
71 u_int iv_len; /* defaults to block_size */
72 u_int auth_len;
73 u_int flags;
157 u_int
163 u_int
169 u_int
177 u_int
183 u_int
[all …]
/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/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/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/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);
Dbpf_filter.c88 u_int
90 u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data) in pcap_filter_with_aux_data()
92 u_int in pcap_filter_with_aux_data()
94 u_int wirelen, u_int buflen, const struct bpf_aux_data *aux_data _U_) in pcap_filter_with_aux_data()
105 return (u_int)-1; in pcap_filter_with_aux_data()
116 return (u_int)pc->k; in pcap_filter_with_aux_data()
119 return (u_int)A; in pcap_filter_with_aux_data()
390 u_int
391 pcap_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, in pcap_filter()
392 u_int buflen) in pcap_filter()
[all …]

12345678910>>...17