/titanic_50/usr/src/uts/common/inet/ipf/ |
H A D | ipf.h | 107 typedef u_int32_t u_32_t; typedef 110 typedef unsigned int u_32_t; typedef 113 typedef uint32_t u_32_t; typedef 115 typedef unsigned int u_32_t; typedef 155 u_32_t fb_k; 197 extern u_32_t buildopts __P((char *, char *, int)); 199 extern int count6bits __P((u_32_t *)); 200 extern int count4bits __P((u_32_t)); 210 extern int genmask __P((char *, u_32_t *)); 212 extern char *getsumd __P((u_32_t)); [all …]
|
H A D | ipmon.h | 21 u_32_t ac_logtag; 28 u_32_t ac_sip; 29 u_32_t ac_smsk; 30 u_32_t ac_dip; 31 u_32_t ac_dmsk; 85 #define HOSTNAME_V4(a,b) hostname((a), 4, (u_32_t *)&(b))
|
H A D | ip_compat.c | 157 u_32_t nat_flags; 158 u_32_t nat_sumd[2]; /* ip checksum delta for data segment */ 159 u_32_t nat_ipsumd; /* ip checksum delta for ip header */ 160 u_32_t nat_mssclamp; /* if != zero clamp MSS to this */
|
H A D | ip_frag.c | 111 static ipfr_t *ipfr_newfrag __P((fr_info_t *, u_32_t, ipfr_t **)); 301 u_32_t pass; 390 u_32_t pass; in fr_newfrag() 425 u_32_t pass; 460 u_32_t ipid; 630 u_32_t fr_ipid_knownfrag(fin) in fr_ipid_knownfrag() 634 u_32_t id; 643 id = (u_32_t)(uintptr_t)ipf->ipfr_data; 664 u_32_t *passp; 668 u_32_t pass, oflx;
|
/titanic_50/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_nat.h | 108 u_32_t nat_flags; 109 u_32_t nat_sumd[2]; /* ip checksum delta for data segment */ 110 u_32_t nat_ipsumd; /* ip checksum delta for ip header */ 111 u_32_t nat_mssclamp; /* if != zero clamp MSS to this */ 199 u_32_t in_flags; 200 u_32_t in_mssclamp; /* if != 0 clamp MSS to this */ 349 u_32_t hm_port; 367 u_32_t nai_nflags; 368 u_32_t nai_flags; 433 #define NAT_HASH_FN6(k, l, m) ((((u_32_t *)(k))[3] \ [all …]
|
H A D | ip_frag.h | 25 u_32_t ipfr_optmsk; 28 u_32_t ipfr_id; 29 u_32_t ipfr_p; 30 u_32_t ipfr_tos; 31 u_32_t ipfr_pass; 59 extern int fr_newfrag __P((fr_info_t *, u_32_t)); 60 extern frentry_t *fr_knownfrag __P((fr_info_t *, u_32_t *)); 62 extern int fr_nat_newfrag __P((fr_info_t *, u_32_t, struct nat *)); 65 extern int fr_ipid_newfrag __P((fr_info_t *, u_32_t)); 66 extern u_32_t fr_ipid_knownfrag __P((fr_info_t *));
|
H A D | ip_proxy.h | 44 u_32_t apt_seqmin[2]; /* don't change seq-off until after this */ 46 u_32_t apt_ackmin[2]; /* don't change seq-off until after this */ 166 u_32_t ftps_seq[2]; 167 u_32_t ftps_len; 190 u_32_t irc_ipnum; 211 u_32_t rap_sbf; /* flag to indicate which of the 19 bytes have 214 u_32_t rap_sseq; 242 typedef u_32_t ipsec_cookie_t[2]; 257 u_32_t pptps_nexthdr; 258 u_32_t pptps_next; [all …]
|
H A D | ip_fil.h | 172 u_32_t i6[4]; 181 u_32_t i6[4]; 287 u_32_t fi_v:4; /* IP version */ 288 u_32_t fi_xx:4; /* spare */ 289 u_32_t fi_tos:8; /* IP packet TOS */ 290 u_32_t fi_ttl:8; /* IP packet TTL */ 291 u_32_t fi_p:8; /* IP packet protocol */ 292 u_32_t fi_optmsk; /* bitmask composed from IP options */ 297 u_32_t fi_flx; /* packet flags */ 298 u_32_t fi_tcpmsk; /* TCP options set/reset */ [all …]
|
H A D | ip_state.h | 63 u_32_t is_hv; 64 u_32_t is_tag; 65 u_32_t is_opt[2]; /* packet options set */ 67 u_32_t is_optmsk[2]; /* " " mask */ 79 u_32_t is_flags; 81 u_32_t is_rulen; /* rule number when created */ 82 u_32_t is_s0[2]; 168 u_32_t isl_tag; 179 u_32_t isl_rulen; 231 extern frentry_t *fr_checkstate __P((struct fr_info *, u_32_t *));
|
H A D | ip_rcmd_pxy.c | 88 aps->aps_psiz = sizeof(u_32_t); 89 KMALLOCS(aps->aps_data, u_32_t *, sizeof(u_32_t)); 92 printf("ippr_rcmd_new:KMALLOCS(%d) failed\n", sizeof(u_32_t)); 96 *(u_32_t *)aps->aps_data = 0; 139 *(u_32_t *)aps->aps_data = htonl(ntohl(tcp->th_seq) + 1); 143 if ((*(u_32_t *)aps->aps_data != 0) && 144 (tcp->th_seq != *(u_32_t *)aps->aps_data))
|
H A D | ip_rpcb_pxy.c | 69 static int ippr_rpcb_skipauth __P((rpc_msg_t *, xdr_auth_t *, u_32_t **)); 72 static int ippr_rpcb_xdrrpcb __P((rpc_msg_t *, u_32_t *, rpcb_args_t *)); 74 u_32_t **)); 80 static rpcb_xact_t * ippr_rpcb_lookup __P((rpcb_session_t *, u_32_t)); 84 u_32_t **)); 97 #define B(r) (u_32_t)ntohl(*(r)) 443 u_32_t xdr, *p; 448 p = (u_32_t *)rm->rm_msgbuf; 558 u_32_t **buf; 560 u_32_t *p, xdr; [all …]
|
H A D | ip_auth.h | 23 u_32_t fra_pass; 52 extern frentry_t *fr_checkauth __P((fr_info_t *, u_32_t *));
|
H A D | ip_lookup.h | 75 u_32_t ilik_key; 99 extern void ip_lookup_iterderef __P((u_32_t, void *, ipf_stack_t *));
|
/titanic_50/usr/src/cmd/ipf/lib/common/ |
H A D | printnat.c | 68 printhostmask(np->in_v, (u_32_t *)&np->in_src[0], 69 (u_32_t *)&np->in_src[1]); 71 printhostmask(np->in_v, (u_32_t *)&np->in_in[0], 72 (u_32_t *)&np->in_in[1]); 81 printhostmask(np->in_v, (u_32_t *)&np->in_out[0], 82 (u_32_t *)&np->in_out[1]); 84 printhostmask(np->in_v, (u_32_t *)&np->in_src[0], 85 (u_32_t *)&np->in_src[1]); 100 ptr = (void *)(u_32_t *)&np->in_out[0]; 102 printmask(np->in_v, (u_32_t *)&np->in_out[1]); [all …]
|
H A D | printhashnode.c | 42 printmask(6, (u_32_t *)&ipe.ipe_mask.in6); 45 printmask(4, (u_32_t *)&ipe.ipe_mask.in4_addr); 58 printhostmask(6, (u_32_t *)&ipe.ipe_addr.in6, 59 (u_32_t *)&ipe.ipe_mask.in6); 63 printip((u_32_t *)&ipe.ipe_addr.in4_addr); 64 printmask(4, (u_32_t *)&ipe.ipe_mask.in4_addr);
|
H A D | printpoolnode.c | 24 printhostmask(6, (u_32_t *)&np->ipn_addr.adf_addr.in6, 25 (u_32_t *)&np->ipn_mask.adf_addr); 29 printip((u_32_t *)&np->ipn_addr.adf_addr.in4); 30 printmask(4, (u_32_t *)&np->ipn_mask.adf_addr);
|
H A D | count6bits.c | 13 u_32_t *msk; in count6bits() 16 u_32_t j;
|
H A D | ntomask.c | 16 u_32_t *ap; 18 u_32_t mask;
|
H A D | optvalue.c | 11 u_32_t getoptbyname(optname) in getoptbyname() 23 u_32_t getoptbyvalue(optval) in getoptbyvalue()
|
H A D | v6optvalue.c | 12 u_32_t getv6optbyname(optname) in getv6optbyname() 26 u_32_t getv6optbyvalue(optval) in getv6optbyvalue()
|
H A D | buildopts.c | 12 u_32_t buildopts(cp, op, len) in buildopts() 17 u_32_t msk = 0;
|
H A D | printpacket6.c | 13 u_32_t flow; 18 flow = ntohl(*(u_32_t *)buf);
|
H A D | getsumd.c | 16 u_32_t sum; in getsumd()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 167 static struct tm *get_tm __P((u_32_t)); 172 char *hostname __P((int, int, u_32_t *)); 199 #define HOSTNAME_V4(a,b) hostname((a), 4, (u_32_t *)&(b)) 526 u_32_t *ip; 709 u_32_t sec; in get_tm() 770 (u_32_t *)&nl->nlg_inip), 774 (u_32_t *)&nl->nlg_outip), 778 (u_32_t *)&nl->nlg_origip), 858 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_src), 862 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst), [all …]
|
H A D | ippool_y.y | 62 u_32_t num; 351 fill6bits(128, (u_32_t *)$$[1].in6.s6_addr); 368 ntomask(6, $1, (u_32_t *)$$.in6.s6_addr); 370 ntomask(4, $1, (u_32_t *)&$$.in4.s_addr); }
|