Home
last modified time | relevance | path

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

12345678910>>...17

/external/tcpdump/
Dnetdissect.h151 const u_char *ndo_packetp;
152 const u_char *ndo_snapend;
159 register const u_char *bp, register u_int length);
293 extern int fn_print(netdissect_options *, const u_char *, const u_char *);
294 extern int fn_printn(netdissect_options *, const u_char *, u_int, const u_char *);
295 extern int fn_printzp(netdissect_options *, const u_char *, u_int, const u_char *);
302 extern void txtproto_print(netdissect_options *, const u_char *, u_int,
321 extern void safeputchar(netdissect_options *, const u_char);
322 extern void safeputs(netdissect_options *, const u_char *, const u_int);
361 extern char *q922_string(netdissect_options *ndo, const u_char *, u_int);
[all …]
Dprint-dvmrp.c57 static int print_probe(netdissect_options *, const u_char *, const u_char *, u_int);
58 static int print_report(netdissect_options *, const u_char *, const u_char *, u_int);
59 static int print_neighbors(netdissect_options *, const u_char *, const u_char *, u_int);
60 static int print_neighbors2(netdissect_options *, const u_char *, const u_char *, u_int);
61 static int print_prune(netdissect_options *, const u_char *);
62 static int print_graft(netdissect_options *, const u_char *);
63 static int print_graft_ack(netdissect_options *, const u_char *);
69 register const u_char *bp, register u_int len) in dvmrp_print()
71 register const u_char *ep; in dvmrp_print()
72 register u_char type; in dvmrp_print()
[all …]
Dprint-udp.c193 static const u_char *
194 rtcp_print(netdissect_options *ndo, const u_char *hdr, const u_char *ep) in rtcp_print()
204 if ((u_char *)(rh + 1) > ep) { in rtcp_print()
219 if ((u_char *)(sr + 1) > ep) { in rtcp_print()
258 if ((u_char *)(rr + 1) > ep) { in rtcp_print()
348 udp_print(netdissect_options *ndo, register const u_char *bp, u_int length, in udp_print()
349 register const u_char *bp2, int fragmented) in udp_print()
353 register const u_char *cp; in udp_print()
354 register const u_char *ep = bp + length; in udp_print()
395 cp = (u_char *)(up + 1); in udp_print()
[all …]
Dprint-isakmp.c58 typedef u_char cookie_t[8];
59 typedef u_char msgid_t[4];
579 #define DECLARE_PRINTER(func) static const u_char *ike##func##_print( \
580 netdissect_options *ndo, u_char tpay, \
583 const u_char *end_pointer, \
616 static const u_char *ikev2_e_print(netdissect_options *ndo,
618 u_char tpay,
621 const u_char *end_pointer,
627 static const u_char *ike_sub0_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
628 const u_char *, uint32_t, uint32_t, uint32_t, int);
[all …]
Dprint-rpki-rtr.c40 u_char version; /* Version number */
41 u_char pdu_type; /* PDU type */
43 u_char session_id[2]; /* Session id */
44 u_char error_code[2]; /* Error code */
46 u_char length[4];
55 u_char flags;
56 u_char prefix_length;
57 u_char max_length;
58 u_char zero;
59 u_char prefix[4];
[all …]
Dprint-arp.c59 u_char ar_hln; /* length of hardware address */
60 u_char ar_pln; /* length of protocol address */
75 u_char ar_sha[]; /* sender hardware address */
76 u_char ar_spa[]; /* sender protocol address */
77 u_char ar_tha[]; /* target hardware address */
78 u_char ar_tpa[]; /* target protocol address */
80 #define ar_sha(ap) (((const u_char *)((ap)+1))+0)
81 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln)
82 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln)
83 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln)
[all …]
Dprint-l2tp.c266 print_string(netdissect_options *ndo, const u_char *dat, u_int length) in print_string()
275 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) in print_octets()
299 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat) in l2tp_msgtype_print()
308 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_result_code_print()
318 print_string(ndo, (u_char *)ptr, length - 4); in l2tp_result_code_print()
330 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_framing_cap_print()
343 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_bearer_cap_print()
356 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_q931_cc_print()
367 l2tp_bearer_type_print(netdissect_options *ndo, const u_char *dat) in l2tp_bearer_type_print()
380 l2tp_framing_type_print(netdissect_options *ndo, const u_char *dat) in l2tp_framing_type_print()
[all …]
Dprint-krb.c36 static const u_char *c_print(netdissect_options *, register const u_char *, register const u_char *…
37 static const u_char *krb4_print_hdr(netdissect_options *, const u_char *);
38 static void krb4_print(netdissect_options *, const u_char *);
95 static const u_char *
97 register const u_char *s, register const u_char *ep) in c_print()
99 register u_char c; in c_print()
124 static const u_char *
126 const u_char *cp) in krb4_print_hdr()
148 const u_char *cp) in krb4_print()
151 u_char type; in krb4_print()
[all …]
Daddrtoname.h33 extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const …
34 extern const char *etheraddr_string(netdissect_options *, const u_char *);
35 extern const char *le64addr_string(const u_char *);
39 extern const char *isonsap_string(const u_char *, register u_int);
41 extern const char *protoid_string(const u_char *);
43 extern const char *getname(netdissect_options *, const u_char *);
45 extern const char *getname6(netdissect_options *, const u_char *);
56 #define ipaddr_string(ndo, p) getname(ndo, (const u_char *)(p))
58 #define ip6addr_string(ndo, p) getname6(ndo, (const u_char *)(p))
Dprint-mptcp.c167 const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_) in dummy_print()
174 const u_char *opt, u_int opt_len, u_char flags) in mp_capable_print()
198 const u_char *opt, u_int opt_len, u_char flags) in mp_join_print()
266 const u_char *opt, u_int opt_len, u_char flags) in mp_dss_print()
311 const u_char *opt, u_int opt_len, u_char flags _U_) in add_addr_print()
343 const u_char *opt, u_int opt_len, u_char flags _U_) in remove_addr_print()
360 const u_char *opt, u_int opt_len, u_char flags _U_) in mp_prio_print()
379 const u_char *opt, u_int opt_len, u_char flags _U_) in mp_fail_print()
390 const u_char *opt, u_int opt_len, u_char flags _U_) in mp_fast_close_print()
401 int (*print)(netdissect_options *, const u_char *, u_int, u_char);
[all …]
Dprint-openflow-1.0.c737 static const u_char *
739 const u_char *cp, const u_char *ep, const u_int len) in of10_data_print()
755 static const u_char *
757 const u_char *cp, const u_char *ep, const u_int len) in of10_bsn_message_print()
759 const u_char *cp0 = cp; in of10_bsn_message_print()
960 static const u_char *
962 const u_char *cp, const u_char *ep, const u_int len) in of10_bsn_actions_print()
964 const u_char *cp0 = cp; in of10_bsn_actions_print()
1034 static const u_char *
1036 const u_char *cp, const u_char *ep, const u_int len) in of10_vendor_action_print()
[all …]
Dprint-atalk.c63 static void atp_bitmap_print(netdissect_options *, u_char);
64 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char);
66 const u_char *,
67 u_short, u_char, u_char);
69 const u_char *);
70 static const char *ataddr_string(netdissect_options *, u_short, u_char);
71 static void ddp_print(netdissect_options *, const u_char *, u_int, int, u_short, u_char, u_char);
79 const struct pcap_pkthdr *h, const u_char *p) in ltalk_if_print()
89 register const u_char *bp, u_int length) in llap_print()
162 register const u_char *bp, u_int length) in atalk_print()
[all …]
/external/libpcap/
Dpcap.c201 pcap_oneshot(u_char *user, const struct pcap_pkthdr *h, const u_char *pkt) in pcap_oneshot()
209 const u_char *
213 const u_char *pkt; in pcap_next()
218 if (pcap_dispatch(p, 1, p->oneshot_callback, (u_char *)&s) <= 0) in pcap_next()
225 const u_char **pkt_data) in pcap_next_ex()
241 (u_char *)&s); in pcap_next_ex()
270 return (p->read_op(p, 1, p->oneshot_callback, (u_char *)&s)); in pcap_next_ex()
836 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_dispatch()
845 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read()
852 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_loop()
[all …]
/external/ppp/pppd/
Dchap_ms.c104 static void ascii2unicode __P((char[], int, u_char[]));
105 static void NTPasswordHash __P((u_char *, int, u_char[MD4_SIGNATURE_SIZE]));
106 static void ChallengeResponse __P((u_char *, u_char *, u_char[24]));
107 static void ChapMS_NT __P((u_char *, char *, int, u_char[24]));
108 static void ChapMS2_NT __P((u_char *, u_char[16], char *, char *, int,
109 u_char[24]));
111 __P((char*, int, u_char[24], u_char[16], u_char *,
112 char *, u_char[41]));
114 static void ChapMS_LANMan __P((u_char *, char *, int, u_char *));
118 static void Set_Start_Key __P((u_char *, char *, int));
[all …]
Dchap_ms.h72 extern u_char mppe_send_key[MPPE_MAX_KEY_LEN];
73 extern u_char mppe_recv_key[MPPE_MAX_KEY_LEN];
90 void ChapMS __P((u_char *, char *, int, u_char *));
91 void ChapMS2 __P((u_char *, u_char *, char *, char *, int,
92 u_char *, u_char[MS_AUTH_RESPONSE_LENGTH+1], int));
94 void mppe_set_keys __P((u_char *, u_char[MD4_SIGNATURE_SIZE]));
95 void mppe_set_keys2(u_char PasswordHashHash[MD4_SIGNATURE_SIZE],
96 u_char NTResponse[24], int IsServer);
99 void ChallengeHash __P((u_char[16], u_char *, char *, u_char[8]));
101 void GenerateAuthenticatorResponse(u_char PasswordHashHash[MD4_SIGNATURE_SIZE],
[all …]
Dpppcrypt.c56 static u_char
58 u_char *input; in Get7Bits()
73 u_char *key; /* IN 56 bit DES key missing parity bits */ in MakeKey()
74 u_char *des_key; /* OUT 64 bit DES key with parity bits added */
98 u_char *in; in Expand()
99 u_char *out;
116 u_char *in; in Collapse()
117 u_char *out;
133 u_char *key; in DesSetkey()
135 u_char des_key[8];
[all …]
Dfsm.h71 u_char id; /* Current id */
72 u_char reqid; /* Current request id */
73 u_char seen_ack; /* Have received valid Ack/Nak/Rej to Req */
93 __P((fsm *, u_char *, int *));
95 __P((fsm *, u_char *, int));
97 __P((fsm *, u_char *, int, int));
99 __P((fsm *, u_char *, int));
101 __P((fsm *, u_char *, int *, int));
115 __P((fsm *, int, int, u_char *, int));
160 void fsm_input __P((fsm *, u_char *, int));
[all …]
/external/openssh/
Dkex.h108 u_char *key;
109 u_char *iv;
125 u_char *session_id;
150 u_char **, size_t *, const u_char *, size_t, u_int);
157 u_char c25519_client_key[CURVE25519_SIZE]; /* 25519 */
158 u_char c25519_client_pubkey[CURVE25519_SIZE]; /* 25519 */
177 int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
178 int kex_derive_keys_bn(struct ssh *, u_char *, u_int, const BIGNUM *);
191 const u_char *, size_t, const u_char *, size_t, const u_char *, size_t,
192 const BIGNUM *, const BIGNUM *, const BIGNUM *, u_char *, size_t *);
[all …]
Dsshbuf.h41 u_char *d; /* Data */
42 const u_char *cd; /* Const data */
125 const u_char *sshbuf_ptr(const struct sshbuf *buf);
131 u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
146 int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
174 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
178 int sshbuf_put_u8(struct sshbuf *buf, u_char val);
185 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
197 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
204 int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
[all …]
Dumac.h55 struct umac_ctx *umac_new(const u_char key[]);
65 int umac_update(struct umac_ctx *ctx, const u_char *input, long len);
68 int umac_final(struct umac_ctx *ctx, u_char tag[], const u_char nonce[8]);
77 int umac(struct umac_ctx *ctx, u_char *input,
78 long len, u_char tag[],
79 u_char nonce[8]);
91 uhash_ctx_t uhash_alloc(u_char key[16]);
106 u_char *input,
110 u_char ouput[]);
113 u_char *input,
[all …]
Dsshkey.h106 u_char *ed25519_sk;
107 u_char *ed25519_pk;
125 int, u_char **retp, size_t *lenp);
159 int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
162 int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
166 int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
169 int sshkey_sign(const struct sshkey *, u_char **, size_t *,
170 const u_char *, size_t, u_int);
171 int sshkey_verify(const struct sshkey *, const u_char *, size_t,
172 const u_char *, size_t, u_int);
[all …]
Dkexc25519.c47 extern int crypto_scalarmult_curve25519(u_char a[CURVE25519_SIZE],
48 const u_char b[CURVE25519_SIZE], const u_char c[CURVE25519_SIZE])
54 kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE]) in kexc25519_keygen()
56 static const u_char basepoint[CURVE25519_SIZE] = {9}; in kexc25519_keygen()
63 kexc25519_shared_key(const u_char key[CURVE25519_SIZE], in kexc25519_shared_key()
64 const u_char pub[CURVE25519_SIZE], struct sshbuf *out) in kexc25519_shared_key()
66 u_char shared_key[CURVE25519_SIZE]; in kexc25519_shared_key()
91 const u_char *serverhostkeyblob, size_t sbloblen, in kex_c25519_hash()
92 const u_char client_dh_pub[CURVE25519_SIZE], in kex_c25519_hash()
93 const u_char server_dh_pub[CURVE25519_SIZE], in kex_c25519_hash()
[all …]
Dsshbuf-getput-basic.c32 const u_char *p = sshbuf_ptr(buf); in sshbuf_get()
45 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u64()
58 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u32()
71 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u16()
82 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
84 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u8()
95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string()
97 const u_char *val; in sshbuf_get_string()
122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct()
125 const u_char *p; in sshbuf_get_string_direct()
[all …]
Dcipher.h84 const u_char *, u_int, const u_char *, u_int, int);
85 int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *,
88 const u_char *, u_int);
100 int cipher_get_keyiv(struct sshcipher_ctx *, u_char *, u_int);
101 int cipher_set_keyiv(struct sshcipher_ctx *, const u_char *);
103 int cipher_get_keycontext(const struct sshcipher_ctx *, u_char *);
104 void cipher_set_keycontext(struct sshcipher_ctx *, const u_char *);
/external/libpcap/Win32/Include/net/
Dif.h54 u_char ifi_type; /* ethernet, tokenring, etc */
55 u_char ifi_physical; /* e.g., AUI, Thinnet, 10base-T, etc */
56 u_char ifi_addrlen; /* media address length */
57 u_char ifi_hdrlen; /* media header length */
58 u_char ifi_recvquota; /* polling quota for receive intrs */
59 u_char ifi_xmitquota; /* polling quota for xmit intrs */
115 u_char ifm_version; /* future binary compatability */
116 u_char ifm_type; /* message type */
129 u_char ifam_version; /* future binary compatability */
130 u_char ifam_type; /* message type */
[all …]

12345678910>>...17