/external/libppp/src/ |
D | lcp.h | 56 u_short his_auth; /* Peer wants this type of authentication */ 64 u_short want_mru; /* Our maximum packet size */ 65 u_short want_mrru; /* Our maximum reassembled packet size (MP) */ 69 u_short want_auth; /* We want this type of authentication */ 79 u_short auth_iwait; /* I must authenticate to the peer */ 80 u_short auth_ineed; /* I require that the peer authenticates */ 85 u_short mru; /* Preferred MRU value */ 86 u_short max_mru; /* Preferred MRU value */ 87 u_short mtu; /* Preferred MTU */ 88 u_short max_mtu; /* Preferred MTU */
|
D | hdlc.c | 109 u_short 112 u_short fcs = INITFCS; in hdlc_Fcs() 120 static inline u_short 121 HdlcFcsBuf(u_short fcs, struct mbuf *m) in HdlcFcsBuf() 142 struct mbuf *bp, int pri __unused, u_short *proto __unused) in hdlc_LayerPush() 146 u_short fcs; in hdlc_LayerPush() 174 u_short from; 175 u_short to; 288 hdlc_Protocol2Nam(u_short proto) in hdlc_Protocol2Nam() 302 u_short *proto __unused) in hdlc_LayerPull() [all …]
|
D | nat_cmd.c | 87 static int StrToPortRange(const char *, u_short *, u_short *, const char *); 88 static int StrToAddrAndPort(const char *, struct in_addr *, u_short *, 89 u_short *, const char *); 92 lowhigh(u_short *a, u_short *b) in lowhigh() 95 u_short c; in lowhigh() 113 u_short hlocalport, llocalport; in nat_RedirectPort() 115 u_short haliasport, laliasport; in nat_RedirectPort() 117 u_short hremoteport, lremoteport; in nat_RedirectPort() 324 StrToPort(const char *str, u_short *port, const char *proto) in StrToPort() 344 StrToPortRange(const char *str, u_short *low, u_short *high, const char *proto) in StrToPortRange() [all …]
|
D | ncp.h | 32 u_short *port; /* The actual ports */ 68 extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short); 69 extern void ncp_AddUrgentPort(struct port_range *, u_short); 70 extern void ncp_RemoveUrgentPort(struct port_range *, u_short);
|
D | proto.c | 50 proto_WrapperOctets(struct lcp *lcp, u_short proto) in proto_WrapperOctets() 56 proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra) in proto_Prepend() 73 int pri __unused, u_short *proto) in proto_LayerPush() 86 u_short *proto) in proto_LayerPull()
|
D | ncp.c | 82 static u_short default_urgent_tcp_ports[] = { 101 ncp->cfg.urgent.tcp.port = (u_short *)malloc(NDEFTCPPORTS * sizeof(u_short)); in ncp_Init() 108 NDEFTCPPORTS * sizeof(u_short)); in ncp_Init() 371 ncp_IsUrgentPort(struct port_range *range, u_short src, u_short dst) in ncp_IsUrgentPort() 383 ncp_AddUrgentPort(struct port_range *range, u_short port) in ncp_AddUrgentPort() 385 u_short *newport; in ncp_AddUrgentPort() 390 newport = (u_short *)realloc(range->port, in ncp_AddUrgentPort() 391 range->maxports * sizeof(u_short)); in ncp_AddUrgentPort() 407 (range->nports - p) * sizeof(u_short)); in ncp_AddUrgentPort() 418 ncp_RemoveUrgentPort(struct port_range *range, u_short port) in ncp_RemoveUrgentPort() [all …]
|
D | fsm.h | 103 u_short proto; /* Protocol number */ 104 u_short min_code; 105 u_short max_code; 145 u_short length; /* Length of packet */ 183 extern void fsm_Init(struct fsm *, const char *, u_short, int, int, int,
|
D | ip.c | 87 u_short id; 96 u_short qdcount; 97 u_short ancount; 98 u_short nscount; 99 u_short arcount; 103 dns_Qclass2Txt(u_short qclass) in dns_Qclass2Txt() 107 u_short id; in dns_Qclass2Txt() 123 dns_Qtype2Txt(u_short qtype) in dns_Qtype2Txt() 127 u_short id; in dns_Qtype2Txt() 150 PortMatch(int op, u_short pport, u_short rport) in PortMatch() [all …]
|
D | slcompress.c | 108 if ((u_short)(n) >= 256) { \ 118 if ((u_short)(n) >= 256 || (u_short)(n) == 0) { \ 272 if (((u_short *) ip)[0] != ((u_short *) & cs->cs_ip)[0] || in sl_compress_tcp() 273 ((u_short *) ip)[3] != ((u_short *) & cs->cs_ip)[3] || in sl_compress_tcp() 274 ((u_short *) ip)[4] != ((u_short *) & cs->cs_ip)[4] || in sl_compress_tcp() 301 deltaS = (u_short) (ntohs(th->th_win) - ntohs(oth->th_win)); in sl_compress_tcp() 438 u_short *bp; in sl_uncompress_tcp() 571 bp = (u_short *)&cs->cs_ip; in sl_uncompress_tcp()
|
D | ccp.h | 134 struct mbuf *(*Read)(void *, struct ccp *, u_short *, struct mbuf *); 135 void (*DictSetup)(void *, struct ccp *, u_short, struct mbuf *); 145 struct mbuf *(*Write)(void *, struct ccp *, struct link *, int, u_short *, 159 extern u_short ccp_Proto(struct ccp *);
|
D | tcpmss.c | 90 cksum = (u_short) ~acc; \ 94 cksum = (u_short) acc; \ 172 struct mbuf *bp, int pri __unused, u_short *proto __unused) in tcpmss_LayerPush() 179 struct mbuf *bp, u_short *proto __unused) in tcpmss_LayerPull()
|
D | hdlc.h | 108 extern const char *hdlc_Protocol2Nam(u_short); 109 extern void hdlc_DecodePacket(struct bundle *, u_short, struct mbuf *, 112 extern u_short hdlc_Fcs(u_char *, size_t);
|
/external/openssh/ |
D | channels.h | 257 Channel *channel_connect_to(const char *, u_short, char *, char *); 258 Channel *channel_connect_stdio_fwd(const char*, u_short, int, int); 259 Channel *channel_connect_by_listen_address(u_short, char *, char *); 260 int channel_request_remote_forwarding(const char *, u_short, 261 const char *, u_short); 262 int channel_setup_local_fwd_listener(const char *, u_short, 263 const char *, u_short, int); 264 void channel_request_rforward_cancel(const char *host, u_short port); 265 int channel_setup_remote_fwd_listener(const char *, u_short, int *, int); 266 int channel_cancel_rport_listener(const char *, u_short);
|
D | sshconnect.h | 35 ssh_connect(const char *, struct sockaddr_storage *, u_short, 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);
|
/external/tcpdump/ |
D | print-ipx.c | 48 void ipx_sap_print(const u_short *, u_int); 49 void ipx_rip_print(const u_short *, u_int); 95 register u_short dstSkt; in ipx_decode() 103 ipx_sap_print((u_short *)datap, length); in ipx_decode() 106 ipx_rip_print((u_short *)datap, length); in ipx_decode() 133 ipx_sap_print(const u_short *ipx, u_int length) in ipx_sap_print() 185 ipx_rip_print(const u_short *ipx, u_int length) in ipx_rip_print()
|
D | print-radius.c | 139 static void print_attr_string(register u_char *, u_int, u_short ); 140 static void print_attr_num(register u_char *, u_int, u_short ); 141 static void print_vendor_attr(register u_char *, u_int, u_short ); 142 static void print_attr_address(register u_char *, u_int, u_short); 143 static void print_attr_time(register u_char *, u_int, u_short); 144 static void print_attr_strange(register u_char *, u_int, u_short); 340 void (*print_func)(register u_char *, u_int, u_short ); 448 print_attr_string(register u_char *data, u_int length, u_short attr_code ) in print_attr_string() 504 print_vendor_attr(register u_char *data, u_int length, u_short attr_code _U_) in print_vendor_attr() 570 print_attr_num(register u_char *data, u_int length, u_short attr_code ) in print_attr_num() [all …]
|
D | addrtoname.h | 28 extern const char *etherproto_string(u_short); 29 extern const char *tcpport_string(u_short); 30 extern const char *udpport_string(u_short);
|
D | interface.h | 149 extern const char *dnaddr_string(u_short); 163 extern const char *ipxsap_string(u_short); 164 extern const char *dnname_string(u_short); 165 extern const char *dnnum_string(u_short); 179 extern int ether_encap_print(u_short, const u_char *, u_int, u_int, u_short *); 181 const u_char *, u_short *); 182 extern int snap_print(const u_char *, u_int, u_int, u_short *, u_int); 252 extern int vjc_print(register const char *, u_short); 289 extern void netbeui_print(u_short, const u_char *, int); 329 extern u_short in_cksum(const u_short *, register u_int, int);
|
D | netdissect.h | 239 extern const char *dnname_string(netdissect_options *, u_short); 240 extern const char *dnnum_string(netdissect_options *, u_short); 272 extern int ether_encap_print(netdissect_options *,u_short, const u_char *, 273 u_int, u_int, u_short *); 276 const u_char *, u_short *); 281 u_int, u_short, u_short); 353 register u_int, u_short); 390 extern void netbeui_print(netdissect_options *,u_short, 431 extern u_short in_cksum(const u_short *,
|
D | print-arp.c | 53 u_short ar_hrd; /* format of hardware address */ 60 u_short ar_pro; /* format of protocol address */ 63 u_short ar_op; /* one of: */ 108 u_short aar_hrd; /* format of hardware address */ 110 u_short aar_pro; /* format of protocol address */ 115 u_short aar_op; /* same as regular ARP */ 180 u_short pro, hrd, op; in atmarp_print() 259 u_short pro, hrd, op; in arp_print()
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/ |
D | tcp.h | 81 u_short th_sport; /* source port */ 82 u_short th_dport; /* destination port */ 104 u_short th_win; /* window */ 105 u_short th_sum; /* checksum */ 106 u_short th_urp; /* urgent pointer */
|
/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 …]
|
/external/qemu/slirp-android/ |
D | ip_icmp.h | 51 u_short icmp_cksum; /* ones complement cksum of struct */ 56 u_short icd_id; 57 u_short icd_seq; 63 u_short ipm_void; 64 u_short ipm_nextmtu;
|
/external/qemu/slirp/ |
D | ip_icmp.h | 49 u_short icmp_cksum; /* ones complement cksum of struct */ 54 u_short icd_id; 55 u_short icd_seq; 61 u_short ipm_void; 62 u_short ipm_nextmtu;
|
/external/libpcap/ |
D | pcap-bpf.h | 106 u_short bv_major; 107 u_short bv_minor; 805 u_short code; 814 #define BPF_STMT(code, k) { (u_short)(code), 0, 0, k } 815 #define BPF_JUMP(code, k, jt, jf) { (u_short)(code), jt, jf, k }
|