/external/syslinux/core/lwip/src/netif/ppp/ |
D | vj.c | 79 if ((u_short)(n) >= 256) { \ 89 if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \ 112 u_short tmp = ntohs(f) + (((u_short)cp[1] << 8) | cp[2]); \ 116 u_short tmp = ntohs(f) + (u_short)*cp++; \ 123 (f) = htons(((u_short)cp[1] << 8) | cp[2]); \ 126 (f) = htons((u_short)*cp++); \ 142 register u_short hlen = IPH_HL(ip); in vj_compress_tcp() 145 register u_short deltaS, deltaA; in vj_compress_tcp() 258 if (((u_short *)ip)[0] != ((u_short *)&cs->cs_ip)[0] in vj_compress_tcp() 259 || ((u_short *)ip)[3] != ((u_short *)&cs->cs_ip)[3] in vj_compress_tcp() [all …]
|
D | ppp.h | 116 typedef unsigned short u_short; typedef 275 u_short protocol; /* PPP protocol number */ 315 u_short xmit_idle; /* seconds since last NP packet sent */ 316 u_short recv_idle; /* seconds since last NP packet received */ 329 u_short idle_time_limit; /* Shut down link if idle for this long */ 427 u_short pppMTU(int pd);
|
D | lcp.h | 101 u_short mru; /* Value of MRU */ 103 u_short mrru; /* Value of MRRU, and multilink enable */
|
D | vj.h | 107 u_short cs_hlen; /* size of hdr (receive only) */ 137 u_short flags;
|
D | fsm.h | 60 #define HEADERLEN (sizeof (u_char) + sizeof (u_char) + sizeof (u_short)) 80 u_short protocol; /* Data Link Layer Protocol field value */
|
/external/syslinux/gpxe/src/core/ |
D | i82365.c | 62 u_short flags; 89 u_short type, flags; 92 u_short psock; 120 static u_char i365_get(u_short sock, u_short reg) in i365_get() 134 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set() 146 void add_socket_i365(u_short port, int psock, int type) { in add_socket_i365() 164 void i365_bset(u_short sock, u_short reg, u_char mask) { in i365_bset() 170 void i365_bclr(u_short sock, u_short reg, u_char mask) { in i365_bclr() 205 int identify_i365 ( u_short port, u_short sock ) { in identify_i365()
|
/external/tcpdump/ |
D | addrtoname.h | 45 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);
|
D | print-arp.c | 51 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 …]
|
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, (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()
|
D | print-radius.c | 171 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 …]
|
D | addrtoname.c | 143 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 …]
|
D | print-atalk.c | 63 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()
|
D | print-babel.c | 345 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()
|
D | print-vjc.c | 86 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()
|
D | print-medsa.c | 50 u_short ether_type; 69 #define VID(medsa) (((u_short)(medsa->bytes[4] & 0xf) << 8 | \ 145 u_short ether_type; in medsa_print()
|
/external/kernel-headers/original/uapi/linux/ |
D | coda_psdev.h | 15 u_short uc_flags; 16 u_short uc_inSize; /* Size is at most 5000 bytes */ 17 u_short uc_outSize; 18 u_short uc_opcode; /* copied from data to save lookup */
|
/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 | 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 …]
|
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()
|
/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/libpcap/pcap/ |
D | bpf.h | 239 u_short code; 251 u_short vlan_tag_present; 252 u_short vlan_tag; 258 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } 259 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
|
/external/syslinux/gpxe/src/include/ |
D | pcmcia.h | 7 typedef unsigned short u_short; typedef 11 typedef u_short ioaddr_t; 133 u_short speed; 141 u_short speed;
|
/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 */
|
/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; 132 u_short linktype; 133 u_short reserved; 185 u_short interface_id; 186 u_short drops_count;
|
/external/ppp/pppd/include/net/ |
D | slcompress.h | 104 u_short cs_hlen; /* size of hdr (receive only) */ 123 u_short flags;
|