Home
last modified time | relevance | path

Searched refs:u_32_t (Results 1 – 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dipf.h107 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 Dipmon.h21 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 Dip_compat.c157 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 Dip_frag.c111 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;
H A Dip_nat.c152 struct in_addr, struct in_addr, u_32_t,
162 static void nat_mssclamp __P((tcphdr_t *, u_32_t, u_short *));
314 u_32_t j;
347 u_32_t j;
417 u_32_t port;
504 u_32_t n;
507 u_32_t sum1;
532 u_32_t n;
535 u_32_t sum1;
570 u_32_t n;
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_nat.h108 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 Dip_proxy.h44 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 Dip_frag.h25 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 Dip_fil.h172 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 Dip_state.h63 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 Dip_rcmd_pxy.c88 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 Dip_rpcb_pxy.c69 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 Dip_auth.h21 u_32_t fra_pass;
50 extern frentry_t *fr_checkauth __P((fr_info_t *, u_32_t *));
H A Dip_lookup.h73 u_32_t ilik_key;
97 extern void ip_lookup_iterderef __P((u_32_t, void *, ipf_stack_t *));
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintnat.c66 printhostmask(np->in_v, (u_32_t *)&np->in_src[0],
67 (u_32_t *)&np->in_src[1]);
69 printhostmask(np->in_v, (u_32_t *)&np->in_in[0],
70 (u_32_t *)&np->in_in[1]);
79 printhostmask(np->in_v, (u_32_t *)&np->in_out[0],
80 (u_32_t *)&np->in_out[1]);
82 printhostmask(np->in_v, (u_32_t *)&np->in_src[0],
83 (u_32_t *)&np->in_src[1]);
98 ptr = (void *)(u_32_t *)&np->in_out[0];
100 printmask(np->in_v, (u_32_t *)&np->in_out[1]);
[all …]
H A Dprinthashnode.c42 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 Dprintpoolnode.c24 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 Dcount6bits.c13 u_32_t *msk; in count6bits()
16 u_32_t j;
H A Dntomask.c14 u_32_t *ap;
16 u_32_t mask;
H A Doptvalue.c11 u_32_t getoptbyname(optname) in getoptbyname()
23 u_32_t getoptbyvalue(optval) in getoptbyvalue()
H A Dv6optvalue.c12 u_32_t getv6optbyname(optname) in getv6optbyname()
26 u_32_t getv6optbyvalue(optval) in getv6optbyvalue()
H A Dbuildopts.c12 u_32_t buildopts(cp, op, len) in buildopts()
17 u_32_t msk = 0;
H A Dprintpacket6.c13 u_32_t flow;
18 flow = ntohl(*(u_32_t *)buf);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c167 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 Dippool_y.y60 u_32_t num;
349 fill6bits(128, (u_32_t *)$$[1].in6.s6_addr);
366 ntomask(6, $1, (u_32_t *)$$.in6.s6_addr);
368 ntomask(4, $1, (u_32_t *)&$$.in4.s_addr); }

123