/external/tcpdump/ |
D | netdissect.h | 151 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 …]
|
D | print-dvmrp.c | 57 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 …]
|
D | print-isakmp.c | 58 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 …]
|
D | print-udp.c | 193 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 …]
|
D | print-rpki-rtr.c | 40 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 …]
|
D | print-arp.c | 59 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 …]
|
D | print-l2tp.c | 266 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 …]
|
D | print-krb.c | 36 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 …]
|
D | print-openflow-1.0.c | 737 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 …]
|
D | addrtoname.h | 33 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))
|
D | print-mptcp.c | 167 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 …]
|
D | print-atalk.c | 63 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 …]
|
D | print-ip6.c | 75 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) in ip6_print() 80 const u_char *ipend; in ip6_print() 81 register const u_char *cp; in ip6_print() 140 cp = (const u_char *)ip6; in ip6_print() 147 if (cp == (const u_char *)(ip6 + 1) && in ip6_print() 164 advance = frag6_print(ndo, cp, (const u_char *)ip6); in ip6_print() 183 advance = mobility_print(ndo, cp, (const u_char *)ip6); in ip6_print() 187 advance = rt6_print(ndo, cp, (const u_char *)ip6); in ip6_print() 191 sctp_print(ndo, cp, (const u_char *)ip6, len); in ip6_print() 194 dccp_print(ndo, cp, (const u_char *)ip6, len); in ip6_print() [all …]
|
D | print-smb.c | 27 const u_char *startbuf = NULL; 34 … void (*fn)(netdissect_options *, const u_char *, const u_char *, const u_char *, const u_char *); 42 void (*fn)(netdissect_options *, const u_char *, const u_char *, int, int); 91 const u_char *param, const u_char *data, int pcnt, int dcnt) in trans2_findfirst() 109 const u_char *param, const u_char *data, int pcnt, int dcnt) in trans2_qfsinfo() 172 const u_char *words, const u_char *dat, const u_char *buf, const u_char *maxbuf) in print_trans2() 176 const u_char *data, *param; in print_trans2() 177 const u_char *w = words + 1; in print_trans2() 241 const u_char *param, int paramlen, const u_char *data, int datalen) in print_browse() 243 const u_char *maxbuf = data + datalen; in print_browse() [all …]
|
D | print-ahcp.c | 103 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print() 131 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print() 149 ahcp_ipv6_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_addresses_print() 177 ahcp_ipv4_addresses_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_addresses_print() 201 ahcp_ipv6_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv6_prefixes_print() 229 ahcp_ipv4_prefixes_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_ipv4_prefixes_print() 254 (* const data_decoders[AHCP1_OPT_MAX + 1])(netdissect_options *, const u_char *, const u_char *) = { 272 ahcp1_options_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_options_print() 313 ahcp1_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp1_body_print() 358 ahcp_print(netdissect_options *ndo, const u_char *cp, const u_int len) in ahcp_print() [all …]
|
D | print-dhcp6.c | 277 const u_char *cp, const u_char *ep) in dhcp6opt_print() 280 const u_char *tp; in dhcp6opt_print() 311 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 363 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 380 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 392 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 400 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 405 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 414 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 509 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() [all …]
|
D | print-sl.c | 54 static void sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int); 55 static void compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int… 59 const struct pcap_pkthdr *h, const u_char *p) in sl_if_print() 79 ip_print(ndo, (u_char *)ip, length); in sl_if_print() 82 ip6_print(ndo, (u_char *)ip, length); in sl_if_print() 93 const struct pcap_pkthdr *h, const u_char *p) in sl_bsdos_if_print() 113 ip_print(ndo, (u_char *)ip, length); in sl_bsdos_if_print() 120 register const u_char *p, register const struct ip *ip, in sliplink_print() 167 static const u_char * 169 const char *str, register const u_char *cp) in print_sl_change() [all …]
|
/external/libpcap/ |
D | pcap.c | 201 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/ |
D | chap_ms.c | 104 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 …]
|
D | chap_ms.h | 72 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 …]
|
D | pppcrypt.c | 56 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 …]
|
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 …]
|
D | cbcp.c | 67 static void cbcp_input __P((int unit, u_char *pkt, int len)); 69 static int cbcp_printpkt __P((u_char *pkt, int len, 97 static void cbcp_recvreq __P((cbcp_state *us, u_char *pckt, int len)); 100 static void cbcp_recvack __P((cbcp_state *us, u_char *pckt, int len)); 101 static void cbcp_send __P((cbcp_state *us, int code, u_char *buf, int len)); 156 u_char *inpacket; 159 u_char *inp; 160 u_char code, id; 228 u_char *p; in cbcp_printpkt() 234 u_char *pstart; [all …]
|
D | upap.c | 84 static void upap_input __P((int, u_char *, int)); 86 static int upap_printpkt __P((u_char *, int, 113 static void upap_rauthreq __P((upap_state *, u_char *, int, int)); 114 static void upap_rauthack __P((upap_state *, u_char *, int, int)); 115 static void upap_rauthnak __P((upap_state *, u_char *, int, int)); 315 u_char *inpacket; 319 u_char *inp; 320 u_char code, id; 373 u_char *inp; 377 u_char ruserlen, rpasswdlen; [all …]
|
/external/libpcap/Win32/Include/net/ |
D | if.h | 54 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 …]
|