Home
last modified time | relevance | path

Searched refs:minfo (Results 1 – 4 of 4) sorted by relevance

/net/netfilter/
Dxt_multiport.c54 ports_match_v1(const struct xt_multiport_v1 *minfo, in ports_match_v1() argument
60 for (i = 0; i < minfo->count; i++) { in ports_match_v1()
61 s = minfo->ports[i]; in ports_match_v1()
63 if (minfo->pflags[i]) { in ports_match_v1()
65 e = minfo->ports[++i]; in ports_match_v1()
68 if (minfo->flags == XT_MULTIPORT_SOURCE in ports_match_v1()
70 return true ^ minfo->invert; in ports_match_v1()
71 if (minfo->flags == XT_MULTIPORT_DESTINATION in ports_match_v1()
73 return true ^ minfo->invert; in ports_match_v1()
74 if (minfo->flags == XT_MULTIPORT_EITHER in ports_match_v1()
[all …]
Dxt_hashlimit.c188 static int htable_create_v0(struct xt_hashlimit_info *minfo, u_int8_t family) in htable_create_v0() argument
194 if (minfo->cfg.size) in htable_create_v0()
195 size = minfo->cfg.size; in htable_create_v0()
211 minfo->hinfo = hinfo; in htable_create_v0()
214 hinfo->cfg.mode = minfo->cfg.mode; in htable_create_v0()
215 hinfo->cfg.avg = minfo->cfg.avg; in htable_create_v0()
216 hinfo->cfg.burst = minfo->cfg.burst; in htable_create_v0()
217 hinfo->cfg.max = minfo->cfg.max; in htable_create_v0()
218 hinfo->cfg.gc_interval = minfo->cfg.gc_interval; in htable_create_v0()
219 hinfo->cfg.expire = minfo->cfg.expire; in htable_create_v0()
[all …]
Dxt_mark.c43 const struct xt_mark_info *minfo = par->matchinfo; in mark_mt_check_v0() local
45 if (minfo->mark > 0xffffffff || minfo->mask > 0xffffffff) { in mark_mt_check_v0()
/net/ipv4/
Dinet_diag.c83 struct inet_diag_meminfo *minfo = NULL; in inet_csk_diag_fill() local
97 minfo = INET_DIAG_PUT(skb, INET_DIAG_MEMINFO, sizeof(*minfo)); in inet_csk_diag_fill()
158 if (minfo) { in inet_csk_diag_fill()
159 minfo->idiag_rmem = atomic_read(&sk->sk_rmem_alloc); in inet_csk_diag_fill()
160 minfo->idiag_wmem = sk->sk_wmem_queued; in inet_csk_diag_fill()
161 minfo->idiag_fmem = sk->sk_forward_alloc; in inet_csk_diag_fill()
162 minfo->idiag_tmem = atomic_read(&sk->sk_wmem_alloc); in inet_csk_diag_fill()