/external/tcpdump/ |
D | interface.h | 122 (const u_char *)&(var) <= snapend - (l)) 136 extern int fn_print(const u_char *, const u_char *); 137 extern int fn_printn(const u_char *, u_int, const u_char *); 138 extern int fn_printzp(const u_char *, u_int, const u_char *); 163 extern const char *isonsap_string(const u_char *, register u_int); 164 extern const char *protoid_string(const u_char *); 171 extern u_int16_t verify_crc10_cksum(u_int16_t, const u_char *, int); 178 extern int print_unknown_data(const u_char *, const char *,int); 179 extern void ascii_print(const u_char *, u_int); 180 extern void hex_and_ascii_print_with_offset(const char *, const u_char *, [all …]
|
D | netdissect.h | 148 const u_char *ndo_packetp; 149 const u_char *ndo_snapend; 156 register const u_char *bp, register u_int length); 241 (const u_char *)&(var) <= ndo->ndo_snapend - (l)) 261 extern int fn_print(const u_char *, const u_char *); 262 extern int fn_printn(const u_char *, u_int, const u_char *); 315 extern const char *isonsap_string(netdissect_options *, const u_char *); 316 extern const char *protoid_string(netdissect_options *, const u_char *); 326 const struct pcap_pkthdr *, const u_char *); 327 typedef u_int (*if_printer)(const struct pcap_pkthdr *, const u_char *); [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 | 70 #define DECLARE_PRINTER(func) static const u_char *ike##func##_print( \ 71 netdissect_options *ndo, u_char tpay, \ 74 const u_char *end_pointer, \ 107 static const u_char *ikev2_e_print(netdissect_options *ndo, 109 u_char tpay, 112 const u_char *end_pointer, 118 static const u_char *ike_sub0_print(netdissect_options *ndo,u_char, const struct isakmp_gen *, 119 const u_char *, u_int32_t, u_int32_t, u_int32_t, int); 120 static const u_char *ikev1_sub_print(netdissect_options *ndo,u_char, const struct isakmp_gen *, 121 const u_char *, u_int32_t, u_int32_t, u_int32_t, int); [all …]
|
D | print-udp.c | 204 static const u_char * 205 rtcp_print(const u_char *hdr, const u_char *ep) in rtcp_print() 215 if ((u_char *)(rh + 1) > ep) { in rtcp_print() 230 if ((u_char *)(sr + 1) > ep) { in rtcp_print() 269 if ((u_char *)(rr + 1) > ep) { in rtcp_print() 359 udp_print(register const u_char *bp, u_int length, in udp_print() 360 register const u_char *bp2, int fragmented) in udp_print() 364 register const u_char *cp; in udp_print() 365 register const u_char *ep = bp + length; in udp_print() 381 cp = (u_char *)(up + 1); in udp_print() [all …]
|
D | print-rpki-rtr.c | 46 u_char version; /* Version number */ 47 u_char pdu_type; /* PDU type */ 49 u_char session_id[2]; /* Session id */ 50 u_char error_code[2]; /* Error code */ 52 u_char length[4]; 61 u_char flags; 62 u_char prefix_length; 63 u_char max_length; 64 u_char zero; 65 u_char prefix[4]; [all …]
|
D | print-arp.c | 62 u_char ar_hln; /* length of hardware address */ 63 u_char ar_pln; /* length of protocol address */ 78 u_char ar_sha[]; /* sender hardware address */ 79 u_char ar_spa[]; /* sender protocol address */ 80 u_char ar_tha[]; /* target hardware address */ 81 u_char ar_tpa[]; /* target protocol address */ 83 #define ar_sha(ap) (((const u_char *)((ap)+1))+0) 84 #define ar_spa(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln) 85 #define ar_tha(ap) (((const u_char *)((ap)+1))+ (ap)->ar_hln+(ap)->ar_pln) 86 #define ar_tpa(ap) (((const u_char *)((ap)+1))+2*(ap)->ar_hln+(ap)->ar_pln) [all …]
|
D | print-mptcp.c | 52 static int dummy_print(const u_char *opt _U_, u_int opt_len _U_, u_char flags _U_) in dummy_print() 57 static int mp_capable_print(const u_char *opt, u_int opt_len, u_char flags) in mp_capable_print() 79 static int mp_join_print(const u_char *opt, u_int opt_len, u_char flags) in mp_join_print() 145 static int mp_dss_print(const u_char *opt, u_int opt_len, u_char flags) in mp_dss_print() 188 static int add_addr_print(const u_char *opt, u_int opt_len, u_char flags _U_) in add_addr_print() 218 static int remove_addr_print(const u_char *opt, u_int opt_len, u_char flags _U_) in remove_addr_print() 233 static int mp_prio_print(const u_char *opt, u_int opt_len, u_char flags _U_) in mp_prio_print() 250 static int mp_fail_print(const u_char *opt, u_int opt_len, u_char flags _U_) in mp_fail_print() 259 static int mp_fast_close_print(const u_char *opt, u_int opt_len, u_char flags _U_) in mp_fast_close_print() 270 int (*print)(const u_char *, u_int, u_char); [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-openflow-1.0.c | 614 static const u_char * 615 of10_data_print(const u_char *cp, const u_char *ep, const u_int len) { in of10_data_print() 631 static const u_char * 632 of10_vendor_data_print(const u_char *cp, const u_char *ep, const u_int len) { in of10_vendor_data_print() 651 static const u_char * 652 of10_packet_data_print(const u_char *cp, const u_char *ep, const u_int len) { in of10_packet_data_print() 672 static const u_char * 673 of10_phy_ports_print(const u_char *cp, const u_char *ep, u_int len) { in of10_phy_ports_print() 674 const u_char *cp0 = cp; in of10_phy_ports_print() 745 static const u_char * [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-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-dhcp6.c | 336 dhcp6opt_print(const u_char *cp, const u_char *ep) in dhcp6opt_print() 339 const u_char *tp; in dhcp6opt_print() 370 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 422 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 439 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 451 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 459 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 464 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 473 tp = (u_char *)(dh6o + 1); in dhcp6opt_print() 568 tp = (u_char *)(dh6o + 1); in dhcp6opt_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(gndo, (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-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 …]
|
D | addrtoname.h | 35 extern const char *linkaddr_string(const u_char *, const unsigned int, const unsigned int); 36 extern const char *etheraddr_string(const u_char *); 37 extern const char *le64addr_string(const u_char *); 41 extern const char *getname(const u_char *); 43 extern const char *getname6(const u_char *); 53 #define ipaddr_string(p) getname((const u_char *)(p)) 55 #define ip6addr_string(p) getname6((const u_char *)(p))
|
D | print-ip6.c | 82 ip6_print(netdissect_options *ndo, const u_char *bp, u_int length) in ip6_print() 87 const u_char *ipend; in ip6_print() 88 register const u_char *cp; in ip6_print() 142 cp = (const u_char *)ip6; in ip6_print() 149 if (cp == (const u_char *)(ip6 + 1) && in ip6_print() 166 advance = frag6_print(cp, (const u_char *)ip6); in ip6_print() 185 advance = mobility_print(cp, (const u_char *)ip6); in ip6_print() 189 advance = rt6_print(cp, (const u_char *)ip6); in ip6_print() 193 sctp_print(cp, (const u_char *)ip6, len); in ip6_print() 196 dccp_print(cp, (const u_char *)ip6, len); in ip6_print() [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 *); 237 const u_char *bp, u_int length _U_) in rpl_print() [all …]
|
/external/libpcap/ |
D | pcap.c | 202 pcap_oneshot(u_char *user, const struct pcap_pkthdr *h, const u_char *pkt) in pcap_oneshot() 210 const u_char * 214 const u_char *pkt; in pcap_next() 219 if (pcap_dispatch(p, 1, p->oneshot_callback, (u_char *)&s) <= 0) in pcap_next() 226 const u_char **pkt_data) in pcap_next_ex() 242 (u_char *)&s); in pcap_next_ex() 271 return (p->read_op(p, 1, p->oneshot_callback, (u_char *)&s)); in pcap_next_ex() 824 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_dispatch() 833 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_read() 840 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) in pcap_loop() [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/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 …]
|