/external/tcpdump/ |
D | netdissect.h | 138 #define IF_PRINTER_ARGS (netdissect_options *, const struct pcap_pkthdr *, const u_char *) 176 const u_char *ndo_packetp; 177 const u_char *ndo_snapend; 184 register const u_char *bp, register u_int length); 328 extern void fn_print_char(netdissect_options *, u_char); 329 extern int fn_print(netdissect_options *, const u_char *, const u_char *); 330 extern u_int fn_printztn(netdissect_options *ndo, const u_char *, u_int, const u_char *); 331 extern int fn_printn(netdissect_options *, const u_char *, u_int, const u_char *); 332 extern int fn_printzp(netdissect_options *, const u_char *, u_int, const u_char *); 339 extern void txtproto_print(netdissect_options *, const u_char *, u_int, [all …]
|
D | print-dvmrp.c | 58 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 …]
|
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 | 219 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 …]
|
D | print-resp.c | 63 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 …]
|
D | print-rpki-rtr.c | 43 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 …]
|
D | print-arp.c | 60 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 …]
|
D | print-krb.c | 37 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 …]
|
D | addrtoname.h | 42 extern const char *linkaddr_string(netdissect_options *, const u_char *, const unsigned int, const … 43 extern const char *etheraddr_string(netdissect_options *, const u_char *); 44 extern const char *le64addr_string(netdissect_options *, const u_char *); 48 extern const char *isonsap_string(netdissect_options *, const u_char *, register u_int); 50 extern const char *protoid_string(netdissect_options *, const u_char *); 52 extern const char *getname(netdissect_options *, const u_char *); 53 extern const char *getname6(netdissect_options *, const u_char *); 61 #define ipaddr_string(ndo, p) getname(ndo, (const u_char *)(p)) 62 #define ip6addr_string(ndo, p) getname6(ndo, (const u_char *)(p))
|
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 …]
|
/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 …]
|
/external/libpcap/ |
D | pcap.c | 338 pcap_oneshot(u_char *user, const struct pcap_pkthdr *h, const u_char *pkt) in pcap_oneshot() 346 const u_char * 350 const u_char *pkt; in pcap_next() 355 if (pcap_dispatch(p, 1, p->oneshot_callback, (u_char *)&s) <= 0) in pcap_next() 362 const u_char **pkt_data) in pcap_next_ex() 378 (u_char *)&s); in pcap_next_ex() 407 return (p->read_op(p, 1, p->oneshot_callback, (u_char *)&s)); in pcap_next_ex() 2563 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user) 2569 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) 2743 static const u_char charmap[] = { [all …]
|
/external/openssh/ |
D | kex.h | 114 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 …]
|
D | sshbuf.h | 41 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 …]
|
D | umac.h | 55 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 …]
|
D | sshkey.h | 106 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 …]
|
D | kexc25519.c | 47 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 …]
|
D | sshbuf-getput-basic.c | 34 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/u-boot/arch/powerpc/include/asm/ |
D | immap_8xx.h | 181 u_char i2c_i2mod; 183 u_char i2c_i2add; 185 u_char i2c_i2brg; 187 u_char i2c_i2com; 189 u_char i2c_i2cer; 191 u_char i2c_i2cmr; 200 u_char sdma_sdsr; 202 u_char sdma_sdmr; 204 u_char sdma_idsr1; 206 u_char sdma_idmr1; [all …]
|
/external/u-boot/include/ |
D | pxa_lcd.h | 55 u_char vl_clkp; /* Clock polarity */ 56 u_char vl_oep; /* Output Enable polarity */ 57 u_char vl_hsp; /* Horizontal Sync polarity */ 58 u_char vl_vsp; /* Vertical Sync polarity */ 59 u_char vl_dp; /* Data polarity */ 60 u_char vl_bpix;/* Bits per pixel, 0 = 1, 1 = 2, 2 = 4, 3 = 8, 4 = 16 */ 61 u_char vl_lbw; /* LCD Bus width, 0 = 4, 1 = 8 */ 62 u_char vl_splt;/* Split display, 0 = single-scan, 1 = dual-scan */ 63 u_char vl_clor; /* Color, 0 = mono, 1 = color */ 64 u_char vl_tft; /* 0 = passive, 1 = TFT */ [all …]
|
D | exynos_lcd.h | 32 u_char vl_freq; /* Frequency */ 33 u_char vl_clkp; /* Clock polarity */ 34 u_char vl_oep; /* Output Enable polarity */ 35 u_char vl_hsp; /* Horizontal Sync polarity */ 36 u_char vl_vsp; /* Vertical Sync polarity */ 37 u_char vl_dp; /* Data polarity */ 38 u_char vl_bpix; /* Bits per pixel */ 41 u_char vl_hspw; /* Horz sync pulse width */ 42 u_char vl_hfpd; /* Wait before of line */ 43 u_char vl_hbpd; /* Wait end of line */ [all …]
|
/external/u-boot/board/freescale/common/ |
D | cadmus.c | 18 u_char cm_ver; /* Board version */ 19 u_char cm_csr; /* General control/status */ 20 u_char cm_rst; /* Reset control */ 21 u_char cm_hsclk; /* High speed clock */ 22 u_char cm_hsxclk; /* High speed clock extended */ 23 u_char cm_led; /* LED data */ 24 u_char cm_pci; /* PCI control/status */ 25 u_char cm_dma; /* DMA control */ 26 u_char cm_reserved[248]; /* Total 256 bytes */
|