Home
last modified time | relevance | path

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

12345678910>>...19

/external/tcpdump/
Dnetdissect.h144 #define IF_PRINTER_ARGS (netdissect_options *, const struct pcap_pkthdr *, const u_char *)
182 const u_char *ndo_packetp;
183 const u_char *ndo_snapend;
190 register const u_char *bp, register u_int length);
334 extern void fn_print_char(netdissect_options *, u_char);
335 extern int fn_print(netdissect_options *, const u_char *, const u_char *);
336 extern u_int fn_printztn(netdissect_options *ndo, const u_char *, u_int, const u_char *);
337 extern int fn_printn(netdissect_options *, const u_char *, u_int, const u_char *);
338 extern int fn_printzp(netdissect_options *, const u_char *, u_int, const u_char *);
345 extern void txtproto_print(netdissect_options *, const u_char *, u_int,
[all …]
Dprint-dvmrp.c58 static int print_probe(netdissect_options *, const u_char *, const u_char *, u_int);
59 static int print_report(netdissect_options *, const u_char *, const u_char *, u_int);
60 static int print_neighbors(netdissect_options *, const u_char *, const u_char *, u_int);
61 static int print_neighbors2(netdissect_options *, const u_char *, const u_char *, u_int);
62 static int print_prune(netdissect_options *, const u_char *);
63 static int print_graft(netdissect_options *, const u_char *);
64 static int print_graft_ack(netdissect_options *, const u_char *);
70 register const u_char *bp, register u_int len) in dvmrp_print()
72 register const u_char *ep; in dvmrp_print()
73 register u_char type; in dvmrp_print()
[all …]
Dprint-isakmp.c57 typedef u_char cookie_t[8];
58 typedef u_char msgid_t[4];
578 #define DECLARE_PRINTER(func) static const u_char *ike##func##_print( \
579 netdissect_options *ndo, u_char tpay, \
582 const u_char *end_pointer, \
615 static const u_char *ikev2_e_print(netdissect_options *ndo,
617 u_char tpay,
620 const u_char *end_pointer,
626 static const u_char *ike_sub0_print(netdissect_options *ndo,u_char, const struct isakmp_gen *,
627 const u_char *, uint32_t, uint32_t, uint32_t, int);
[all …]
Dprint-udp.c219 static const u_char *
220 rtcp_print(netdissect_options *ndo, const u_char *hdr, const u_char *ep) in rtcp_print()
230 if ((const u_char *)(rh + 1) > ep) in rtcp_print()
244 if ((const u_char *)(sr + 1) > ep) in rtcp_print()
282 if ((const u_char *)(rr + 1) > ep) in rtcp_print()
370 udp_print(netdissect_options *ndo, register const u_char *bp, u_int length, in udp_print()
371 register const u_char *bp2, int fragmented) in udp_print()
375 register const u_char *cp; in udp_print()
376 register const u_char *ep = bp + length; in udp_print()
416 cp = (const u_char *)(up + 1); in udp_print()
[all …]
Dprint-rpki-rtr.c43 u_char version; /* Version number */
44 u_char pdu_type; /* PDU type */
46 u_char session_id[2]; /* Session id */
47 u_char error_code[2]; /* Error code */
49 u_char length[4];
58 u_char flags;
59 u_char prefix_length;
60 u_char max_length;
61 u_char zero;
62 u_char prefix[4];
[all …]
Dprint-arp.c60 u_char ar_hln; /* length of hardware address */
61 u_char ar_pln; /* length of protocol address */
76 u_char ar_sha[]; /* sender hardware address */
77 u_char ar_spa[]; /* sender protocol address */
78 u_char ar_tha[]; /* target hardware address */
79 u_char ar_tpa[]; /* target protocol address */
81 #define ar_sha(ap) (((const u_char *)((ap)+1))+0)
82 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln)
83 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln)
84 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln)
[all …]
Dprint-resp.c63 void resp_print(netdissect_options *, const u_char *, u_int);
64 static int resp_parse(netdissect_options *, register const u_char *, int);
65 static int resp_print_string_error_integer(netdissect_options *, register const u_char *, int);
66 static int resp_print_simple_string(netdissect_options *, register const u_char *, int);
67 static int resp_print_integer(netdissect_options *, register const u_char *, int);
68 static int resp_print_error(netdissect_options *, register const u_char *, int);
69 static int resp_print_bulk_string(netdissect_options *, register const u_char *, int);
70 static int resp_print_bulk_array(netdissect_options *, register const u_char *, int);
71 static int resp_print_inline(netdissect_options *, register const u_char *, int);
72 static int resp_get_length(netdissect_options *, register const u_char *, int, const u_char **);
[all …]
Dprint-l2tp.c267 print_string(netdissect_options *ndo, const u_char *dat, u_int length) in print_string()
276 print_octets(netdissect_options *ndo, const u_char *dat, u_int length) in print_octets()
300 l2tp_msgtype_print(netdissect_options *ndo, const u_char *dat) in l2tp_msgtype_print()
309 l2tp_result_code_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_result_code_print()
319 print_string(ndo, (const u_char *)ptr, length - 4); in l2tp_result_code_print()
331 l2tp_framing_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_framing_cap_print()
344 l2tp_bearer_cap_print(netdissect_options *ndo, const u_char *dat) in l2tp_bearer_cap_print()
357 l2tp_q931_cc_print(netdissect_options *ndo, const u_char *dat, u_int length) in l2tp_q931_cc_print()
368 l2tp_bearer_type_print(netdissect_options *ndo, const u_char *dat) in l2tp_bearer_type_print()
381 l2tp_framing_type_print(netdissect_options *ndo, const u_char *dat) in l2tp_framing_type_print()
[all …]
Dprint-krb.c37 static const u_char *c_print(netdissect_options *, register const u_char *, register const u_char *…
38 static const u_char *krb4_print_hdr(netdissect_options *, const u_char *);
39 static void krb4_print(netdissect_options *, const u_char *);
96 static const u_char *
98 register const u_char *s, register const u_char *ep) in c_print()
100 register u_char c; in c_print()
125 static const u_char *
127 const u_char *cp) in krb4_print_hdr()
149 const u_char *cp) in krb4_print()
152 u_char type; in krb4_print()
[all …]
/external/libpcap/
Dpcap.c226 pcap_oneshot(u_char *user, const struct pcap_pkthdr *h, const u_char *pkt) in pcap_oneshot()
234 const u_char *
238 const u_char *pkt; in pcap_next()
243 if (pcap_dispatch(p, 1, p->oneshot_callback, (u_char *)&s) <= 0) in pcap_next()
250 const u_char **pkt_data) in pcap_next_ex()
266 (u_char *)&s); in pcap_next_ex()
295 return (p->read_op(p, 1, p->oneshot_callback, (u_char *)&s)); in pcap_next_ex()
875 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_dispatch()
881 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_loop()
1055 static const u_char charmap[] = {
[all …]
/external/syslinux/core/lwip/src/netif/ppp/
Dchpms.c100 u_char LANManResp[24];
101 u_char NTResp[24];
102 u_char UseNT; /* If 1, ignore the LANMan response field */
117 static void DesEncrypt (u_char *, u_char *, u_char *);
118 static void MakeKey (u_char *, u_char *);
121 static void Expand (u_char *, u_char *);
122 static void Collapse (u_char *, u_char *);
126 u_char *challenge, /* IN 8 octets */
127 u_char *pwHash, /* IN 16 octets */
128 u_char *response /* OUT 24 octets */
[all …]
Dfsm.h60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short))
83 u_char id; /* Current id */
84 u_char reqid; /* Current request id */
85 u_char seen_ack; /* Have received valid Ack/Nak/Rej to Req */
101 void (*addci)(fsm*, u_char*, int*); /* Add our Configuration Information */
102 int (*ackci)(fsm*, u_char*, int); /* ACK our Configuration Information */
103 int (*nakci)(fsm*, u_char*, int); /* NAK our Configuration Information */
104 int (*rejci)(fsm*, u_char*, int); /* Reject our Configuration Information */
105 int (*reqci)(fsm*, u_char*, int*, int); /* Request peer's Configuration Information */
112 int (*extcode)(fsm*, int, u_char, u_char*, int); /* Called when unknown code received */
[all …]
Dchap.h103 u_char challenge[MAX_CHALLENGE_LENGTH]; /* last challenge string sent */
104 u_char chal_len; /* challenge length */
105 u_char chal_id; /* ID of last challenge */
106 u_char chal_type; /* hash algorithm for challenges */
107 u_char id; /* Current id */
114 u_char response[MAX_RESPONSE_LENGTH]; /* Response to send */
115 u_char resp_length; /* length of response */
116 u_char resp_id; /* ID for response messages */
117 u_char resp_type; /* hash algorithm for responses */
145 void ChapAuthWithPeer (int, char *, u_char);
[all …]
Dpap.c93 static void upap_input (int, u_char *, int);
96 static int upap_printpkt (u_char *, int, void (*)(void *, char *, ...), void *);
125 static void upap_rauthreq (upap_state *, u_char *, u_char, int);
126 static void upap_rauthack (upap_state *, u_char *, int, int);
127 static void upap_rauthnak (upap_state *, u_char *, int, int);
129 static void upap_sresp (upap_state *, u_char, u_char, char *, int);
334 upap_input(int unit, u_char *inpacket, int l) in upap_input()
337 u_char *inp; in upap_input()
338 u_char code, id; in upap_input()
390 upap_rauthreq(upap_state *u, u_char *inp, u_char id, int len) in upap_rauthreq()
[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.h114 u_char *key;
115 u_char *iv;
131 u_char *session_id;
157 int (*sign)(struct sshkey *, struct sshkey *, u_char **, size_t *,
158 const u_char *, size_t, const char *, u_int);
165 u_char c25519_client_key[CURVE25519_SIZE]; /* 25519 */
166 u_char c25519_client_pubkey[CURVE25519_SIZE]; /* 25519 */
186 int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
187 int kex_derive_keys_bn(struct ssh *, u_char *, u_int, const BIGNUM *);
201 const u_char *, size_t, const u_char *, size_t, const 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);
154 int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
182 int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
186 int sshbuf_put_u8(struct sshbuf *buf, u_char val);
193 int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
205 int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
212 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);
161 int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
164 int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
168 int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
171 int sshkey_sign(const struct sshkey *, u_char **, size_t *,
172 const u_char *, size_t, const char *, u_int);
173 int sshkey_verify(const struct sshkey *, const u_char *, size_t,
174 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()
89 const u_char *ckexinit, size_t ckexinitlen, in kex_c25519_hash()
90 const u_char *skexinit, size_t skexinitlen, in kex_c25519_hash()
91 const u_char *serverhostkeyblob, size_t sbloblen, in kex_c25519_hash()
[all …]
Dsshbuf-getput-basic.c34 const u_char *p = sshbuf_ptr(buf); in sshbuf_get()
47 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u64()
60 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u32()
73 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u16()
84 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
86 const u_char *p = sshbuf_ptr(buf); in sshbuf_get_u8()
97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string()
99 const u_char *val; in sshbuf_get_string()
124 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct()
127 const u_char *p; in sshbuf_get_string_direct()
[all …]
/external/syslinux/gpxe/src/include/
Dpcmcia.h6 typedef unsigned char u_char; typedef
46 u_char index;
47 u_char irq;
83 u_char pci_irq;
101 u_char Vcc, Vpp;
102 u_char io_irq;
131 u_char map;
132 u_char flags;
139 u_char map;
140 u_char flags;
[all …]

12345678910>>...19