Home
last modified time | relevance | path

Searched refs:u_short (Results 1 – 25 of 110) sorted by last modified time

12345

/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintpacket.c20 u_short len;
21 u_short off;
25 len = ntohs(((u_short *)ip)[2]) + 40;
H A Dprintpacket6.c11 u_short plen, *addrs;
20 plen = ntohs(*((u_short *)buf +2));
21 addrs = (u_short *)buf + 4;
H A Dprinttunable.c17 else if (tup->ipft_sz == sizeof(u_short))
H A Dprintfr.c22 u_short sec[2];
H A Dpcap-ipf.h19 u_short pc_v_maj;
20 u_short pc_v_min;
H A Dportnum.c21 u_short *port;
25 u_short p1 = 0;
30 *port = (u_short)i;
H A Dports.c20 u_short *pp;
22 u_short *tp;
H A Doptname.c14 u_short *sp;
19 u_short smsk = 0;
H A Doptprint.c12 u_short *sec; in optprint()
15 u_short secmsk = sec[0], secbits = sec[1];
H A Doptprintv6.c16 u_short *sec; in optprintv6()
19 u_short secmsk = sec[0], secbits = sec[1];
H A Dipft_tx.c43 static u_short tx_portnum __P((char *));
75 static u_short tx_portnum(name) in tx_portnum()
79 u_short p1 = 0;
82 return (u_short)atoi(name);
H A Dgetport.c11 u_short *port;
15 u_short p1;
H A Dextras.c20 u_short secmsk;
H A Daddicmp.c62 fp->fr_icmp = (u_short)(i << 8);
63 fp->fr_icmpm = (u_short)0xff00;
88 fp->fr_icmp |= (u_short)i;
89 fp->fr_icmpm = (u_short)0xffff;
H A Daddipopt.c20 u_short val;
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_fil.h385 u_short fin_off;
535 u_short fri_icmp;
992 u_short ol_val;
1016 u_short ici_id;
1017 u_short ici_seq;
1022 u_short us_sport;
1023 u_short us_dport;
1044 u_short ts_sport;
1071 u_short gr_len;
1072 u_short gr_call;
[all …]
H A Dip_ftp_pxy.c88 u_short ippr_ftp_atoi __P((char **));
198 u_short a5, a6, sp;
509 u_short a5, a6;
1402 u_short ippr_ftp_atoi(ptr) in ippr_ftp_atoi()
1437 u_short ap = 0;
H A Dip_proxy.h40 u_short apt_sport; /* source port */
41 u_short apt_dport; /* destination port */
51 u_short apu_sport; /* source port */
52 u_short apu_dport; /* destination port */
191 u_short irc_port;
207 u_short rap_plport;
208 u_short rap_prport;
209 u_short rap_srport;
235 u_short mri_rport;
271 u_short pptp_call[2];
[all …]
H A Dip_compat.h1275 (u_short)y, 0); \
1282 (u_short)y, 0); \
2102 # define IP_MF ((u_short)0x2000)
2105 # define ETHERTYPE_IP ((u_short)0x0800)
2153 # define IPOPT_SECUR_UNCLASS ((u_short)0x0000)
2156 # define IPOPT_SECUR_CONFID ((u_short)0xf135)
2159 # define IPOPT_SECUR_EFTO ((u_short)0x789a)
2162 # define IPOPT_SECUR_MMMM ((u_short)0xbc4d)
2165 # define IPOPT_SECUR_RESTR ((u_short)0xaf13)
2168 # define IPOPT_SECUR_SECRET ((u_short)0xd788)
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dipmon.h32 u_short ac_sport;
33 u_short ac_dport;
H A Dip_state.c2110 u_short sp, dp;
2368 u_short sport, dport;
2373 u_short savelen;
2674 u_short dport, sport;
4024 u_short sport, dport;
4026 u_short savelen;
H A Dipf.h152 u_short fb_c;
206 extern int getport __P((struct frentry *, char *, u_short *));
243 extern u_32_t optname __P((char ***, u_short *, int));
246 extern int portnum __P((char *, char *, u_short *, int));
247 extern int ports __P((char ***, char *, u_short *, int *, u_short *, int));
277 extern void optprint __P((u_short *, u_long, u_long));
279 extern void optprintv6 __P((u_short *, u_long, u_long));
H A Dip_nat.c503 u_short *sp; in fix_outcksum()
506 u_short sumshort;
531 u_short *sp; in fix_incksum()
534 u_short sumshort;
569 u_short *sp; in fix_datacksum()
572 u_short sumshort;
2345 u_short sp, dp;
4054 u_short *csump;
4203 u_short dport;
4382 u_short *csump;
[all …]
H A Dip_nat6.c285 u_short st_port, dport, sport, port, sp, dp;
551 u_short nport, dport, sport;
553 u_short sp, dp;
1084 u_short data[2];
1481 u_short sport, dport;
1736 u_short sport, dport;
2208 u_short *csump;
2319 u_short dport;
2491 u_short *csump;
H A Dip_fil_solaris.c1495 u_short sz;
1590 ip6->ip6_plen = htons((u_short)sz);
1604 ip->ip_len = (u_short)sz;
1624 icmp->icmp_cksum = ipf_cksum((u_short *)icmp,
1774 u_short fr_nextipid(fin) in fr_nextipid()
1777 static u_short ipid = 0;
1778 u_short id;
2060 u_short __iplen, __ipoff;
2179 __iplen = (u_short)ip->ip_len,
2180 __ipoff = (u_short)ip->ip_off;
[all …]

12345