/external/libpcap/ |
D | pcap.c | 74 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_dispatch() 84 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read() 91 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_loop() 122 const u_char *pkt; 127 pcap_oneshot(u_char *userData, const struct pcap_pkthdr *h, const u_char *pkt) in pcap_oneshot() 134 const u_char * 140 if (pcap_dispatch(p, 1, pcap_oneshot, (u_char*)&s) <= 0) in pcap_next() 147 const u_char **pkt; 151 pcap_fakecallback(u_char *userData, const struct pcap_pkthdr *h, in pcap_fakecallback() 152 const u_char *pkt) in pcap_fakecallback() [all …]
|
/external/tcpdump/ |
D | interface.h | 128 (const u_char *)&(var) <= snapend - (l)) 142 extern int fn_print(const u_char *, const u_char *); 143 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); 162 extern const char *protoid_string(const u_char *); 171 extern int print_unknown_data(const u_char *, const char *,int); 172 extern void ascii_print(const u_char *, u_int); 173 extern void hex_and_ascii_print_with_offset(const char *, const u_char *, 175 extern void hex_and_ascii_print(const char *, const u_char *, u_int); [all …]
|
D | netdissect.h | 132 const u_char *ndo_packetp; 133 const u_char *ndo_snapend; 140 register const u_char *bp, register u_int length); 202 (const u_char *)&(var) <= ndo->ndo_snapend - (l)) 222 extern int fn_print(const u_char *, const u_char *); 223 extern int fn_printn(const u_char *, u_int, const u_char *); 237 extern const char *isonsap_string(netdissect_options *, const u_char *); 238 extern const char *protoid_string(netdissect_options *, const u_char *); 248 extern void eap_print(netdissect_options *,const u_char *, u_int); 250 register const u_char *bp, int len, register const u_char *bp2, [all …]
|
D | print-dvmrp.c | 65 static int print_probe(const u_char *, const u_char *, u_int); 66 static int print_report(const u_char *, const u_char *, u_int); 67 static int print_neighbors(const u_char *, const u_char *, u_int); 68 static int print_neighbors2(const u_char *, const u_char *, u_int); 69 static int print_prune(const u_char *); 70 static int print_graft(const u_char *); 71 static int print_graft_ack(const u_char *); 76 dvmrp_print(register const u_char *bp, register u_int len) in dvmrp_print() 78 register const u_char *ep; in dvmrp_print() 79 register u_char type; in dvmrp_print() [all …]
|
D | print-isakmp.c | 62 static const u_char *isakmp_sa_print(const struct isakmp_gen *, 63 u_int, const u_char *, u_int32_t, u_int32_t, u_int32_t, int); 64 static const u_char *isakmp_p_print(const struct isakmp_gen *, 65 u_int, const u_char *, u_int32_t, u_int32_t, u_int32_t, int); 66 static const u_char *isakmp_t_print(const struct isakmp_gen *, 67 u_int, const u_char *, u_int32_t, u_int32_t, u_int32_t, int); 68 static const u_char *isakmp_ke_print(const struct isakmp_gen *, 69 u_int, const u_char *, u_int32_t, u_int32_t, u_int32_t, int); 70 static const u_char *isakmp_id_print(const struct isakmp_gen *, 71 u_int, const u_char *, u_int32_t, u_int32_t, u_int32_t, int); [all …]
|
D | print-udp.c | 206 static const u_char * 207 rtcp_print(const u_char *hdr, const u_char *ep) in rtcp_print() 217 if ((u_char *)(rh + 1) > ep) { in rtcp_print() 232 if ((u_char *)(sr + 1) > ep) { in rtcp_print() 271 if ((u_char *)(rr + 1) > ep) { in rtcp_print() 295 u_char mbz; in udp_cksum() 296 u_char proto; in udp_cksum() 420 udp_print(register const u_char *bp, u_int length, in udp_print() 421 register const u_char *bp2, int fragmented) in udp_print() 425 register const u_char *cp; in udp_print() [all …]
|
D | print-arp.c | 61 u_char ar_hln; /* length of hardware address */ 62 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 …]
|
D | print-l2tp.c | 237 print_string(const u_char *dat, u_int length) in print_string() 246 print_octets(const u_char *dat, u_int length) in print_octets() 270 l2tp_msgtype_print(const u_char *dat) in l2tp_msgtype_print() 279 l2tp_result_code_print(const u_char *dat, u_int length) in l2tp_result_code_print() 289 print_string((u_char *)ptr, length - 4); in l2tp_result_code_print() 301 l2tp_framing_cap_print(const u_char *dat) in l2tp_framing_cap_print() 314 l2tp_bearer_cap_print(const u_char *dat) in l2tp_bearer_cap_print() 327 l2tp_q931_cc_print(const u_char *dat, u_int length) in l2tp_q931_cc_print() 338 l2tp_bearer_type_print(const u_char *dat) in l2tp_bearer_type_print() 351 l2tp_framing_type_print(const u_char *dat) in l2tp_framing_type_print() [all …]
|
D | print-krb.c | 41 static const u_char *c_print(register const u_char *, register const u_char *); 42 static const u_char *krb4_print_hdr(const u_char *); 43 static void krb4_print(const u_char *); 102 static const u_char * 103 c_print(register const u_char *s, register const u_char *ep) in c_print() 105 register u_char c; in c_print() 131 static const u_char * 132 krb4_print_hdr(const u_char *cp) in krb4_print_hdr() 153 krb4_print(const u_char *cp) in krb4_print() 156 u_char type; in krb4_print() [all …]
|
D | print-ip6.c | 50 ip6_print(register const u_char *bp, register u_int length) in ip6_print() 55 const u_char *ipend; in ip6_print() 56 register const u_char *cp; in ip6_print() 110 cp = (const u_char *)ip6; in ip6_print() 117 if (cp == (const u_char *)(ip6 + 1) && in ip6_print() 134 advance = frag6_print(cp, (const u_char *)ip6); in ip6_print() 153 advance = mobility_print(cp, (const u_char *)ip6); in ip6_print() 157 advance = rt6_print(cp, (const u_char *)ip6); in ip6_print() 161 sctp_print(cp, (const u_char *)ip6, len); in ip6_print() 164 dccp_print(cp, (const u_char *)ip6, len); in ip6_print() [all …]
|
D | print-atalk.c | 69 static void atp_bitmap_print(u_char); 70 static void nbp_print(const struct atNBP *, u_int, u_short, u_char, u_char); 71 static const char *print_cstring(const char *, const u_char *); 73 const u_char *, 74 u_short, u_char, u_char); 76 const u_char *); 77 static const char *ataddr_string(u_short, u_char); 78 static void ddp_print(const u_char *, u_int, int, u_short, u_char, u_char); 85 ltalk_if_print(const struct pcap_pkthdr *h, const u_char *p) in ltalk_if_print() 94 llap_print(register const u_char *bp, u_int length) in llap_print() [all …]
|
D | print-sl.c | 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); 52 sl_if_print(const struct pcap_pkthdr *h, const u_char *p) in sl_if_print() 72 ip_print(gndo, (u_char *)ip, length); in sl_if_print() 76 ip6_print((u_char *)ip, length); in sl_if_print() 87 sl_bsdos_if_print(const struct pcap_pkthdr *h, const u_char *p) in sl_bsdos_if_print() 107 ip_print(gndo, (u_char *)ip, length); in sl_bsdos_if_print() 113 sliplink_print(register const u_char *p, register const struct ip *ip, in sliplink_print() 161 static const u_char * 162 print_sl_change(const char *str, register const u_char *cp) in print_sl_change() [all …]
|
D | print-smb.c | 30 const u_char *startbuf = NULL; 37 void (*fn)(const u_char *, const u_char *, const u_char *, const u_char *); 45 void (*fn)(const u_char *, const u_char *, int, int); 93 trans2_findfirst(const u_char *param, const u_char *data, int pcnt, int dcnt) in trans2_findfirst() 110 trans2_qfsinfo(const u_char *param, const u_char *data, int pcnt, int dcnt) in trans2_qfsinfo() 173 print_trans2(const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) in print_trans2() 177 const u_char *data, *param; in print_trans2() 178 const u_char *w = words + 1; in print_trans2() 243 print_browse(const u_char *param, int paramlen, const u_char *data, int datalen) in print_browse() 245 const u_char *maxbuf = data + datalen; in print_browse() [all …]
|
D | print-icmp6.c | 51 static void print_lladdr(const u_char *, size_t); 52 static void icmp6_opt_print(const u_char *, int); 53 static void mld6_print(const u_char *); 54 static void mldv2_report_print(const u_char *, u_int); 55 static void mldv2_query_print(const u_char *, u_int); 56 static struct udphdr *get_upperlayer(u_char *, u_int *); 57 static void dnsname_print(const u_char *, const u_char *); 58 static void icmp6_nodeinfo_print(u_int, const u_char *, const u_char *); 59 static void icmp6_rrenum_print(const u_char *, const u_char *); 236 icmp6_print(const u_char *bp, u_int length, const u_char *bp2, int fragmented) in icmp6_print() [all …]
|
D | print-dhcp6.c | 319 dhcp6opt_print(const u_char *cp, const u_char *ep) in dhcp6opt_print() 322 u_char *tp; in dhcp6opt_print() 353 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 404 memcpy(&ia_addr, (u_char *)dh6o, sizeof(ia_addr)); in dhcp6opt_print() 416 dhcp6opt_print((u_char *)dh6o + in dhcp6opt_print() 418 (u_char *)(dh6o + 1) + optlen); in dhcp6opt_print() 427 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 441 printf(" %d)", *((u_char *)(dh6o + 1) + 1)); in dhcp6opt_print() 454 dhcp6_print((const u_char *)(dh6o + 1), optlen); in dhcp6opt_print() 492 tp = (u_char *)&authopt.dh6opt_auth_rdinfo; in dhcp6opt_print() [all …]
|
D | print-wb.c | 55 ((struct dophdr *)((u_char *)(d) + \ 66 u_char ph_type; /* message type */ 67 u_char ph_flags; /* message flags */ 95 u_char dh_flags; 96 u_char dh_type; /* body type */ 192 if (len < sizeof(*id) || (u_char *)(id + 1) > snapend) in wb_id() 208 if ((u_char *)cp + len <= snapend) { in wb_id() 210 (void)fn_print((u_char *)cp, (u_char *)cp + len); in wb_id() 215 for (i = 0; i < nid && (u_char *)(io + 1) <= snapend; ++io, ++i) { in wb_id() 231 if (len < sizeof(*rreq) || (u_char *)(rreq + 1) > snapend) in wb_rreq() [all …]
|
/external/ppp/pppd/ |
D | chap_ms.h | 67 u_char LANManResp[24]; 68 u_char NTResp[24]; 69 u_char UseNT[1]; /* If 1, ignore the LANMan response field */ 77 u_char PeerChallenge[16]; 78 u_char Reserved[8]; /* Must be zero */ 79 u_char NTResp[24]; 80 u_char Flags[1]; /* Must be zero */ 85 extern u_char mppe_send_key[MPPE_MAX_KEY_LEN]; 86 extern u_char mppe_recv_key[MPPE_MAX_KEY_LEN]; 103 void ChapMS __P((u_char *, char *, int, MS_ChapResponse *)); [all …]
|
D | chap_ms.c | 104 static void ascii2unicode __P((char[], int, u_char[])); 105 static void NTPasswordHash __P((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((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, MS_ChapResponse *)); 118 static void Set_Start_Key __P((u_char *, char *, int)); [all …]
|
D | pppcrypt.c | 37 static u_char 39 u_char *input; in Get7Bits() 54 u_char *key; /* IN 56 bit DES key missing parity bits */ in MakeKey() 55 u_char *des_key; /* OUT 64 bit DES key with parity bits added */ 79 u_char *in; in Expand() 80 u_char *out; 97 u_char *in; in Collapse() 98 u_char *out; 114 u_char *key; in DesSetkey() 116 u_char des_key[8]; [all …]
|
D | fsm.h | 71 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/ |
D | jpake.h | 55 u_char *client_id; /* Anti-replay nonce */ 61 u_char *server_id; /* Anti-replay nonce */ 73 u_char *h_k_cid_sessid; /* H(k || client_id || session_id) */ 77 u_char *h_k_sid_sessid; /* H(k || server_id || session_id) */ 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 …]
|
D | monitor_wrap.h | 43 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); 54 int mm_auth_rsa_verify_response(Key *, BIGNUM *, u_char *); 86 void mm_ssh1_session_id(u_char *); 90 struct Newkeys *mm_newkeys_from_blob(u_char *, int); 91 int mm_newkeys_to_blob(int, u_char **, u_int *); 108 void mm_jpake_step1(struct modp_group *, u_char **, u_int *, 110 u_char **, u_int *, u_char **, u_int *); 113 const u_char *, u_int, const u_char *, u_int, 114 const u_char *, u_int, const u_char *, u_int, [all …]
|
D | key.h | 98 u_char *key_fingerprint_raw(Key *, enum fp_type, u_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); 139 int ssh_dss_sign(const Key *, u_char **, u_int *, const u_char *, u_int); 140 int ssh_dss_verify(const Key *, const u_char *, u_int, const u_char *, u_int); 141 int ssh_ecdsa_sign(const Key *, u_char **, u_int *, const u_char *, u_int); 142 int ssh_ecdsa_verify(const Key *, const u_char *, u_int, const u_char *, u_int); 143 int ssh_rsa_sign(const Key *, u_char **, u_int *, const u_char *, u_int); [all …]
|
D | umac.h | 55 struct umac_ctx *umac_new(u_char key[]); 65 int umac_update(struct umac_ctx *ctx, u_char *input, long len); 68 int umac_final(struct umac_ctx *ctx, u_char tag[], 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 …]
|
D | kex.h | 93 u_char *key; 94 u_char *iv; 100 u_char *key; 118 u_char *session_id; 148 void kex_derive_keys(Kex *, u_char *, u_int, BIGNUM *); 160 kex_dh_hash(char *, char *, char *, int, char *, int, u_char *, int, 161 BIGNUM *, BIGNUM *, BIGNUM *, u_char **, u_int *); 164 int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *, 165 BIGNUM *, BIGNUM *, u_char **, u_int *); 169 char *, int, u_char *, int, const EC_POINT *, const EC_POINT *, [all …]
|