Home
last modified time | relevance | path

Searched refs:u_short (Results 1 – 25 of 110) sorted by relevance

12345

/external/tcpdump/
Daddrtoname.h45 extern const char *etherproto_string(netdissect_options *, u_short);
46 extern const char *tcpport_string(netdissect_options *, u_short);
47 extern const char *udpport_string(netdissect_options *, u_short);
49 extern const char *dnaddr_string(netdissect_options *, u_short);
51 extern const char *ipxsap_string(netdissect_options *, u_short);
Dprint-ipx.c65 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, (const u_short *)datap, length); in ipx_decode()
123 ipx_rip_print(ndo, (const 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()
Dprint-arp.c51 u_short ar_hrd; /* format of hardware address */
59 u_short ar_pro; /* format of protocol address */
62 u_short ar_op; /* one of: */
132 u_short aar_hrd; /* format of hardware address */
133 u_short aar_pro; /* format of protocol address */
138 u_short aar_op; /* same as regular ARP */
194 const struct arp_pkthdr *ap, u_short pro) in tpaddr_print_ip()
206 const struct arp_pkthdr *ap, u_short pro) in spaddr_print_ip()
233 const struct atmarp_pkthdr *ap, u_short pro) in atmarp_tpaddr_print()
245 const struct atmarp_pkthdr *ap, u_short pro) in atmarp_spaddr_print()
[all …]
Dprint-radius.c171 static void print_attr_string(netdissect_options *, register const u_char *, u_int, u_short );
172 static void print_attr_num(netdissect_options *, register const u_char *, u_int, u_short );
173 static void print_vendor_attr(netdissect_options *, register const u_char *, u_int, u_short );
174 static void print_attr_address(netdissect_options *, register const u_char *, u_int, u_short);
175 static void print_attr_time(netdissect_options *, register const u_char *, u_int, u_short);
176 static void print_attr_strange(netdissect_options *, register const u_char *, u_int, u_short);
380 void (*print_func)(netdissect_options *, register const u_char *, u_int, u_short);
489 register const u_char *data, u_int length, u_short attr_code) in print_attr_string()
553 register const u_char *data, u_int length, u_short attr_code _U_) in print_vendor_attr()
618 register const u_char *data, u_int length, u_short attr_code) in print_attr_num()
[all …]
Daddrtoname.c143 u_short e_addr0;
144 u_short e_addr1;
145 u_short e_addr2;
155 u_short bs_addr0;
156 u_short bs_addr1;
157 u_short bs_addr2;
168 u_short p_proto;
603 etherproto_string(netdissect_options *ndo, u_short port) in etherproto_string()
692 tcpport_string(netdissect_options *ndo, u_short port) in tcpport_string()
713 udpport_string(netdissect_options *ndo, register u_short port) in udpport_string()
[all …]
Dprint-atalk.c63 static void nbp_print(netdissect_options *, const struct atNBP *, u_int, u_short, u_char, u_char);
66 u_short, u_char, u_char);
69 static const char *ataddr_string(netdissect_options *, u_short, u_char);
70 static void ddp_print(netdissect_options *, const u_char *, u_int, int, u_short, u_char, u_char);
100 u_short snet; in llap_print()
183 u_short snet; in atalk_print()
256 register u_short snet, register u_char snode, u_char skt) in ddp_print()
410 register const struct atNBP *np, u_int length, register u_short snet, in nbp_print()
506 register u_short snet, register u_char snode, register u_char skt) in nbp_tuple_print()
568 u_short atnet, u_char athost) in ataddr_string()
Dprint-vjc.c86 vjc_print(netdissect_options *ndo, register const char *bp, u_short proto _U_) in vjc_print()
109 ND_PRINT((ndo, "sum=0x%04x ", *(const u_short *)&bp[3])); in vjc_print()
Dprint-babel.c345 u_short bodylen; in babel_print_v2()
388 u_short nonce, interval; in babel_print_v2()
402 u_short nonce; in babel_print_v2()
415 u_short seqno, interval; in babel_print_v2()
491 u_short interval, seqno, metric; in babel_print_v2()
548 u_short seqno; in babel_print_v2()
592 u_short interval, seqno, metric; in babel_print_v2()
669 u_short seqno; in babel_print_v2()
Dprint-medsa.c50 u_short ether_type;
69 #define VID(medsa) (((u_short)(medsa->bytes[4] & 0xf) << 8 | \
145 u_short ether_type; in medsa_print()
Dprint-ap1394.c42 u_short firewire_type;
94 u_short ether_type; in ap1394_if_print()
/external/openssh/
Dsshconnect.h36 u_short, int, int, int *, int, int);
39 void ssh_login(Sensitive *, const char *, struct sockaddr *, u_short,
46 void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short,
50 void ssh_kex2(char *, struct sockaddr *, u_short);
Dbuffer.h58 u_short buffer_get_short(Buffer *);
59 void buffer_put_short(Buffer *, u_short);
82 int buffer_get_short_ret(u_short *, Buffer *);
Dbufaux.c29 buffer_get_short_ret(u_short *v, Buffer *buffer) in buffer_get_short_ret()
40 u_short
43 u_short ret; in buffer_get_short()
98 buffer_put_short(Buffer *buffer, u_short value) in buffer_put_short()
Dchannels.h278 Channel *channel_connect_to_port(const char *, u_short, char *, char *, int *,
281 Channel *channel_connect_stdio_fwd(const char*, u_short, int, int);
282 Channel *channel_connect_by_listen_address(const char *, u_short,
/external/libpcap/pcap/
Dbpf.h235 u_short code;
247 u_short vlan_tag_present;
248 u_short vlan_tag;
254 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k }
255 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
/external/iputils/
Dtftpd.c366 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 …]
Dping.c102 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()
Drdisc.c123 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/ppp/pppd/
Dccp.h41 u_short bsd_bits; /* # bits/code for BSD Compress */
42 u_short deflate_size; /* lg(window size) for Deflate */
Deap.h112 u_short ea_namelen; /* Length of our name */
113 u_short ea_peerlen; /* Length of peer's name */
/external/libpcap/
Dbpf_filter.c80 #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p))
84 ((u_short)\
85 ((u_short)*((u_char *)p+0)<<8|\
86 (u_short)*((u_char *)p+1)<<0))
Dsf-pcapng.c75 u_short option_code;
76 u_short option_length;
91 u_short major_version;
92 u_short minor_version;
115 u_short linktype;
116 u_short reserved;
168 u_short interface_id;
169 u_short drops_count;
/external/ppp/pppd/include/net/
Dslcompress.h104 u_short cs_hlen; /* size of hdr (receive only) */
123 u_short flags;
Dvjcompress.h104 u_short cs_hlen; /* size of hdr (receive only) */
122 u_short flags;
/external/kernel-headers/original/uapi/linux/
Dcoda.h77 typedef unsigned short u_short; typedef
210 u_short va_mode; /* files access mode and type */
738 u_short in_size; /* Size of input buffer <= 2K */
739 u_short out_size; /* Maximum size of output buffer, <= 2K */

12345