/src/sys/external/bsd/ipf/netinet/ |
ip_frag.h | 39 u_32_t ipfr_optmsk; 42 u_32_t ipfr_id; 43 u_32_t ipfr_pass; 86 extern u_32_t ipf_frag_ipidknown(fr_info_t *); 87 extern int ipf_frag_ipidnew(fr_info_t *, u_32_t); 88 extern frentry_t *ipf_frag_known(fr_info_t *, u_32_t *); 90 extern int ipf_frag_natnew(ipf_main_softc_t *, fr_info_t *, u_32_t, struct nat *); 92 extern int ipf_frag_new(ipf_main_softc_t *, fr_info_t *, u_32_t);
|
radix_ipf.h | 11 #ifndef U_32_T 12 typedef unsigned int u_32_t; typedef in typeref:typename:unsigned int 13 # define U_32_T 1 19 u_32_t *mask; 30 u_32_t *addrkey; 31 u_32_t *maskkey; 32 u_32_t *addroff; 33 u_32_t *maskoff; 34 u_32_t lastmask; 35 u_32_t bitmask [all...] |
ip_auth.h | 20 u_32_t fra_pass; 23 u_32_t fra_flx; 52 extern frentry_t *ipf_auth_check(fr_info_t *, u_32_t *); 69 extern u_32_t ipf_auth_pre_scanlist(ipf_main_softc_t *, fr_info_t *, 70 u_32_t);
|
ip_proxy.h | 42 u_32_t apt_seqmin[2]; /* don't change seq-off until after this */ 44 u_32_t apt_ackmin[2]; /* don't change seq-off until after this */ 171 u_32_t ftps_seq[2]; 172 u_32_t ftps_len; 191 typedef u_32_t ipsec_cookie_t[2]; 213 u_32_t irc_ipnum; 244 u_32_t rap_sbf; /* flag to indicate which of the 19 bytes have 247 u_32_t rap_sseq; 312 u_32_t *xs_len; 317 /* u_32_t xa_flavor; * [all...] |
ip_fil.h | 141 u_32_t i6[4]; 154 u_32_t i6[4]; 178 #define I60(x) (((u_32_t *)(x))[0]) 179 #define I61(x) (((u_32_t *)(x))[1]) 180 #define I62(x) (((u_32_t *)(x))[2]) 181 #define I63(x) (((u_32_t *)(x))[3]) 182 #define HI60(x) ntohl(((u_32_t *)(x))[0]) 183 #define HI61(x) ntohl(((u_32_t *)(x))[1]) 184 #define HI62(x) ntohl(((u_32_t *)(x))[2]) 185 #define HI63(x) ntohl(((u_32_t *)(x))[3] [all...] |
ip_nat.h | 130 u_32_t nat_flags; 131 u_32_t nat_sumd[2]; /* ip checksum delta for data segment*/ 132 u_32_t nat_ipsumd; /* ip checksum delta for ip header */ 133 u_32_t nat_mssclamp; /* if != zero clamp MSS to this */ 264 u_32_t in_flags; 265 u_32_t in_mssclamp; /* if != 0 clamp MSS to this */ 463 u_32_t hm_port; 484 u_32_t nai_sum1; 485 u_32_t nai_sum2; 569 u_32_t ns_ticks [all...] |
ip_state.h | 61 u_32_t is_hv; 62 u_32_t is_tag; 63 u_32_t is_opt[2]; /* packet options set */ 64 u_32_t is_optmsk[2]; /* " " mask */ 75 u_32_t is_flags; 77 u_32_t is_rulen; /* rule number when created */ 78 u_32_t is_s0[2]; 167 u_32_t isl_tag; 178 u_32_t isl_rulen; 308 extern frentry_t *ipf_state_check(struct fr_info *, u_32_t *); [all...] |
radix_ipf.c | 35 static int count_mask_bits(addrfamily_t *, u_32_t **); 38 static ipf_rdx_node_t *ipf_rx_find_addr(ipf_rdx_node_t *, u_32_t *); 64 count_mask_bits(addrfamily_t *mask, u_32_t **lastp) 66 u_32_t *mp = (u_32_t *)&mask->adf_addr; 67 u_32_t m; 101 u_32_t maskbits; 102 u_32_t lastmask; 103 u_32_t *last; 112 masklen = last - (u_32_t *)mask [all...] |
ip_dstlist.h | 67 extern int ipf_dstlist_select_node(fr_info_t *, void *, u_32_t *, frdest_t *);
|
ip_lookup.h | 82 u_32_t ilik_key; 129 int (*ipfl_select_node)(fr_info_t *, void *, u_32_t *, 139 extern void ipf_lookup_iterderef(ipf_main_softc_t *, u_32_t, void *);
|
ip_rpcb_pxy.c | 63 static int ipf_p_rpcb_skipauth(rpc_msg_t *, xdr_auth_t *, u_32_t **); 65 static int ipf_p_rpcb_xdrrpcb(rpc_msg_t *, u_32_t *, rpcb_args_t *); 67 u_32_t **); 73 static rpcb_xact_t * ipf_p_rpcb_lookup(rpcb_session_t *, u_32_t); 76 u_32_t **); 100 #define B(r) (u_32_t)ntohl(*(r)) 411 u_32_t xdr, *p; 416 p = (u_32_t *)rm->rm_msgbuf; 523 ipf_p_rpcb_skipauth(rpc_msg_t *rm, xdr_auth_t *auth, u_32_t **buf) 525 u_32_t *p, xdr [all...] |
ip_htable.h | 52 u_32_t iph_flags;
|
ip_sync.h | 16 u_32_t sm_magic; /* magic */
|
ip_frag.c | 120 fr_info_t *, u_32_t, ipfr_t **, 128 fr_info_t *, u_32_t, ipfr_t **); 368 u_32_t pass, 511 ipf_frag_new(ipf_main_softc_t *softc, fr_info_t *fin, u_32_t pass) 545 ipf_frag_natnew(ipf_main_softc_t *softc, fr_info_t *fin, u_32_t pass, 584 ipf_frag_ipidnew(fr_info_t *fin, u_32_t ipid) 827 /* Returns: u_32_t - IPv4 ID for this packet if match found, else */ 833 u_32_t 839 u_32_t id; 851 id = (u_32_t)(intptr_t)ipf->ipfr_data [all...] |
ip_fil_compat.c | 102 u_32_t fi_v:4; 103 u_32_t fi_xx:4; 104 u_32_t fi_tos:8; 105 u_32_t fi_ttl:8; 106 u_32_t fi_p:8; 107 u_32_t fi_optmsk; 112 u_32_t fi_flx; 113 u_32_t fi_tcpmsk; 114 u_32_t fi_res1; 185 u_32_t fr_type [all...] |
ip_pptp_pxy.c | 24 u_32_t pptps_nexthdr; 25 u_32_t pptps_next; 45 u_32_t pptph_cookie; 285 u_32_t start, end;
|
ip_nat.c | 239 struct in_addr, u_32_t); 247 static void ipf_nat_mssclamp(tcphdr_t *, u_32_t, fr_info_t *, u_short *); 252 static int ipf_nat_nextaddr(fr_info_t *, nat_addr_t *, u_32_t *, u_32_t *); 638 u_32_t j; 678 u_32_t j; 767 struct in_addr dst, struct in_addr map, u_32_t port) 863 ipf_fix_outcksum(int cksum, u_short *sp, u_32_t n, u_32_t partial) 866 u_32_t sum1 [all...] |
ip_irc_pxy.c | 77 u_32_t l; 356 register u_32_t sum1, sum2;
|
ip_rcmd_pxy.c | 20 u_32_t rcmd_port; /* Port number seen */ 21 u_32_t rcmd_portseq; /* Sequence number where port is first seen */
|
fil.c | 164 static u_32_t ipf_checkcipso(fr_info_t *, u_char *, int); 165 static u_32_t ipf_checkripso(u_char *); 166 static u_32_t ipf_decaps(fr_info_t *, u_32_t, int); 168 static frentry_t *ipf_dolog(fr_info_t *, u_32_t *); 175 static frentry_t *ipf_firewall(fr_info_t *, u_32_t *); 190 static int ipf_portcheck(frpcmp_t *, u_32_t); 1831 u_32_t doi; 1889 static u_32_t 1920 /* Returns: u_32_t - 0 = failure, else the doi from the header * [all...] |
ip_nat6.c | 116 i6addr_t *, u_32_t); 123 static int ipf_nat6_out(fr_info_t *, nat_t *, int, u_32_t); 124 static int ipf_nat6_in(fr_info_t *, nat_t *, int, u_32_t); 368 i6addr_t *dst, i6addr_t *map, u_32_t port) 455 u_32_t flags; 733 u_32_t flags; 769 &fin->fin_dst6, &in, (u_32_t)dport); 790 (u_32_t)dport); 898 (u_32_t)dport); 1139 u_32_t sum1, sum2, sumd [all...] |
ip_auth.c | 381 ipf_auth_check(fr_info_t *fin, u_32_t *passp) 387 u_32_t pass; 1259 u_32_t 1260 ipf_auth_pre_scanlist(ipf_main_softc_t *softc, fr_info_t *fin, u_32_t pass)
|
ip_proxy.c | 910 u_32_t s1, s2, sd; 1151 u_32_t seq1, seq2; 1167 seq1 = (u_32_t)ntohl(tcp->th_seq); 1281 (u_32_t)ntohl(tcp->th_seq), (u_32_t)ntohl(tcp->th_ack));
|
ip_ftp_pxy.c | 1231 u_32_t thseq, thack; 1357 DT3(thack, ftpside_t *t, t, int, ackoff, u_32_t, thack); 1379 DT2(thseq, ftpside_t *t, t, u_32_t, thseq); 1403 DT3(ok_0, ftpside_t *, f, u_32_t, thseq, int, mlen); 1677 u_32_t addr, i; 1902 u_32_t a; 1965 whole |= ((u_32_t)c) << 24;
|
ip_state.c | 160 i6addr_t *, tcphdr_t *, u_32_t); 2082 u_32_t sumd, old, new; 2122 u_32_t win, maxwin; 2303 u_32_t send; 2389 tcphdr_t *tcp, u_32_t cmask) 2395 u_32_t cflx; 2850 u_32_t ipass; 3248 ipf_state_check(fr_info_t *fin, u_32_t *passp) 3411 u_32_t seq; 3448 u_32_t ack [all...] |