Home
last modified time | relevance | path

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

1234567

/external/libppp/src/
Dlcp.h56 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 */
Dhdlc.c109 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 …]
Dnat_cmd.c87 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 …]
Dncp.h32 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);
Dncp.c82 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 …]
Dproto.c50 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()
Dfsm.h103 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,
Dip.c87 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 …]
Dslcompress.c108 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()
Dccp.h134 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 *);
Dtcpmss.c90 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()
Dhdlc.h108 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/
Dchannels.h257 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);
Dsshconnect.h35 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/
Dprint-ipx.c48 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()
Dprint-radius.c139 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 …]
Daddrtoname.h28 extern const char *etherproto_string(u_short);
29 extern const char *tcpport_string(u_short);
30 extern const char *udpport_string(u_short);
Dinterface.h149 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);
Dnetdissect.h239 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 *,
Dprint-arp.c53 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/qemu/slirp/
Dip_icmp.h49 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/qemu/slirp-android/
Dip_icmp.h51 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/libpcap/
Dpcap-bpf.h106 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 }
/external/quake/quake/src/WinQuake/
Dmpdosock.h23 typedef unsigned short u_short; typedef
260 struct { u_short s_w1,s_w2; } S_un_w;
309 u_short sin_port;
453 u_short sa_family; /* address family */
462 u_short sp_family; /* address family */
463 u_short sp_protocol; /* protocol */
496 u_short l_onoff; /* option on/off */
497 u_short l_linger; /* linger time */
704 u_short PASCAL FAR htons (u_short hostshort);
714 u_short PASCAL FAR ntohs (u_short netshort);
/external/chromium/third_party/libevent/
Devhttp.h87 int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port);
174 struct evhttp *evhttp_start(const char *address, u_short port);
209 u_short remote_port;
295 char **address, u_short *port);

1234567