/external/tcpdump/ |
D | addrtoname.h | 36 extern const char *etherproto_string(u_short); 37 extern const char *tcpport_string(u_short); 38 extern const char *udpport_string(u_short); 40 extern const char *dnaddr_string(netdissect_options *, u_short); 42 extern const char *ipxsap_string(u_short);
|
D | print-ipx.c | 65 static void ipx_sap_print(netdissect_options *, const u_short *, u_int); 66 static void ipx_rip_print(netdissect_options *, const u_short *, u_int); 112 register u_short dstSkt; in ipx_decode() 120 ipx_sap_print(ndo, (u_short *)datap, length); in ipx_decode() 123 ipx_rip_print(ndo, (u_short *)datap, length); in ipx_decode() 150 ipx_sap_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_sap_print() 202 ipx_rip_print(netdissect_options *ndo, const u_short *ipx, u_int length) in ipx_rip_print()
|
D | print-radius.c | 165 static void print_attr_string(netdissect_options *, register u_char *, u_int, u_short ); 166 static void print_attr_num(netdissect_options *, register u_char *, u_int, u_short ); 167 static void print_vendor_attr(netdissect_options *, register u_char *, u_int, u_short ); 168 static void print_attr_address(netdissect_options *, register u_char *, u_int, u_short); 169 static void print_attr_time(netdissect_options *, register u_char *, u_int, u_short); 170 static void print_attr_strange(netdissect_options *, register u_char *, u_int, u_short); 372 void (*print_func)(netdissect_options *, register u_char *, u_int, u_short); 481 register u_char *data, u_int length, u_short attr_code) in print_attr_string() 549 register u_char *data, u_int length, u_short attr_code _U_) in print_vendor_attr() 614 register u_char *data, u_int length, u_short attr_code) in print_attr_num() [all …]
|
D | print-arp.c | 50 u_short ar_hrd; /* format of hardware address */ 58 u_short ar_pro; /* format of protocol address */ 61 u_short ar_op; /* one of: */ 131 u_short aar_hrd; /* format of hardware address */ 132 u_short aar_pro; /* format of protocol address */ 137 u_short aar_op; /* same as regular ARP */ 201 u_short pro, hrd, op; in atmarp_print() 297 u_short pro, hrd, op, linkaddr; in arp_print()
|
D | print-atalk.c | 64 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char); 67 u_short, u_char, 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); 94 u_short snet; in llap_print() 165 u_short snet; in atalk_print() 225 register u_short snet, register u_char snode, u_char skt) in ddp_print() 379 register const struct atNBP *np, u_int length, register u_short snet, in nbp_print() 475 register u_short snet, register u_char snode, register u_char skt) in nbp_tuple_print() 537 u_short atnet, u_char athost) in ataddr_string()
|
D | addrtoname.c | 144 u_short e_addr0; 145 u_short e_addr1; 146 u_short e_addr2; 159 u_short p_proto; 579 etherproto_string(u_short port) in etherproto_string() 663 tcpport_string(u_short port) in tcpport_string() 682 udpport_string(register u_short port) in udpport_string() 701 ipxsap_string(u_short port) in ipxsap_string() 765 u_short p; 813 u_short etype = htons(eproto_db[i].p); in init_protoidarray() [all …]
|
D | print-vjc.c | 76 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_) in vjc_print() 99 ND_PRINT((ndo, "sum=0x%04x ", *(u_short *)&bp[3])); in vjc_print()
|
D | print-sll.c | 136 u_short ether_type; in sll_print() 200 u_short ether_type; in sll_if_print() 201 u_short extracted_ethertype; in sll_if_print()
|
D | print-babel.c | 348 u_short bodylen; in babel_print_v2() 391 u_short nonce, interval; in babel_print_v2() 405 u_short nonce; in babel_print_v2() 418 u_short seqno, interval; in babel_print_v2() 494 u_short interval, seqno, metric; in babel_print_v2() 551 u_short seqno; in babel_print_v2()
|
D | print-ap1394.c | 41 u_short firewire_type; 87 u_short ether_type; in ap1394_if_print()
|
/external/kernel-headers/original/uapi/linux/ |
D | coda_psdev.h | 14 u_short uc_flags; 15 u_short uc_inSize; /* Size is at most 5000 bytes */ 16 u_short uc_outSize; 17 u_short uc_opcode; /* copied from data to save lookup */
|
D | coda.h | 77 typedef unsigned short u_short; typedef 216 u_short va_mode; /* files access mode and type */ 718 u_short in_size; /* Size of input buffer <= 2K */ 719 u_short out_size; /* Maximum size of output buffer, <= 2K */
|
/external/libpcap/Win32/Include/net/ |
D | if.h | 114 u_short ifm_msglen; /* to skip over non-understood messages */ 119 u_short ifm_index; /* index for associated ifp */ 128 u_short ifam_msglen; /* to skip over non-understood messages */ 133 u_short ifam_index; /* index for associated ifp */ 142 u_short ifmam_msglen; /* to skip over non-understood messages */ 147 u_short ifmam_index; /* index for associated ifp */
|
/external/iputils/ |
D | tftpd.c | 366 dp->th_opcode = htons((u_short)DATA); in sendfile() 367 dp->th_block = htons((u_short)block); in sendfile() 386 ap->th_opcode = ntohs((u_short)ap->th_opcode); in sendfile() 387 ap->th_block = ntohs((u_short)ap->th_block); in sendfile() 432 ap->th_opcode = htons((u_short)ACK); in recvfile() 433 ap->th_block = htons((u_short)block); in recvfile() 451 dp->th_opcode = ntohs((u_short)dp->th_opcode); in recvfile() 452 dp->th_block = ntohs((u_short)dp->th_block); in recvfile() 477 ap->th_opcode = htons((u_short)ACK); /* send the "final" ack */ in recvfile() 478 ap->th_block = htons((u_short)(block)); in recvfile() [all …]
|
D | ping.c | 102 static u_short in_cksum(const u_short *addr, int len, u_short salt); 746 icp->checksum = in_cksum((u_short *)icp, cc, 0); in send_probe() 752 icp->checksum = in_cksum((u_short *)&tmp_tv, sizeof(tmp_tv), ~icp->checksum); in send_probe() 831 csfailed = in_cksum((u_short *)icp, cc, 0); in parse_reply() 946 # define ODDBYTE(v) ((u_short)(v) << 8) 948 # define ODDBYTE(v) htons((u_short)(v) << 8) 951 u_short 952 in_cksum(const u_short *addr, register int len, u_short csum) in in_cksum() 955 const u_short *w = addr; in in_cksum() 956 register u_short answer; in in_cksum()
|
D | rdisc.c | 123 u_short icmp_cksum; /* ones complement cksum of struct */ 210 static u_short in_cksum(u_short *addr, int len); 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor() 617 rap->icmp_cksum = in_cksum( (u_short *)rap, packetlen ); in advertise() 751 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack() 840 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack() 916 # define ODDBYTE(v) ((u_short)(v) << 8) 918 # define ODDBYTE(v) htons((u_short)(v) << 8) 921 u_short in_cksum(u_short *addr, int len) in in_cksum() 924 register u_short *w = addr; in in_cksum() [all …]
|
/external/libpcap/pcap/ |
D | bpf.h | 1473 u_short code; 1485 u_short vlan_tag_present; 1486 u_short vlan_tag; 1492 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } 1493 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
|
/external/ppp/pppd/ |
D | ccp.h | 41 u_short bsd_bits; /* # bits/code for BSD Compress */ 42 u_short deflate_size; /* lg(window size) for Deflate */
|
D | eap.h | 112 u_short ea_namelen; /* Length of our name */ 113 u_short ea_peerlen; /* Length of peer's name */
|
/external/ppp/pppd/include/net/ |
D | slcompress.h | 104 u_short cs_hlen; /* size of hdr (receive only) */ 123 u_short flags;
|
D | vjcompress.h | 104 u_short cs_hlen; /* size of hdr (receive only) */ 122 u_short flags;
|
/external/libpcap/ |
D | sf-pcap-ng.c | 92 u_short option_code; 93 u_short option_length; 108 u_short major_version; 109 u_short minor_version; 131 u_short linktype; 132 u_short reserved; 184 u_short interface_id; 185 u_short drops_count;
|
/external/libevent/ |
D | http-internal.h | 73 u_short bind_port; /* local port for binding the src */ 76 u_short port;
|
/external/libpcap/bpf/net/ |
D | bpf_filter.c | 106 #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p)) 110 ((u_short)\ 111 ((u_short)*((u_char *)p+0)<<8|\ 112 (u_short)*((u_char *)p+1)<<0))
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | RTPFile.cc | 175 ASSERT_LE(12 + payloadSize + 8, std::numeric_limits<u_short>::max()); in Write() 176 uint16_t lengthBytes = htons(static_cast<u_short>(12 + payloadSize + 8)); in Write() 177 uint16_t plen = htons(static_cast<u_short>(12 + payloadSize)); in Write()
|