Home
last modified time | relevance | path

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

/net/netfilter/
Dxt_multiport.c31 ports_match_v1(const struct xt_multiport_v1 *minfo, in ports_match_v1() argument
37 for (i = 0; i < minfo->count; i++) { in ports_match_v1()
38 s = minfo->ports[i]; in ports_match_v1()
40 if (minfo->pflags[i]) { in ports_match_v1()
42 e = minfo->ports[++i]; in ports_match_v1()
45 if (minfo->flags == XT_MULTIPORT_SOURCE in ports_match_v1()
47 return true ^ minfo->invert; in ports_match_v1()
48 if (minfo->flags == XT_MULTIPORT_DESTINATION in ports_match_v1()
50 return true ^ minfo->invert; in ports_match_v1()
51 if (minfo->flags == XT_MULTIPORT_EITHER in ports_match_v1()
[all …]
Dxt_hashlimit.c218 static int htable_create(struct net *net, struct xt_hashlimit_mtinfo1 *minfo, in htable_create() argument
226 if (minfo->cfg.size) { in htable_create()
227 size = minfo->cfg.size; in htable_create()
241 minfo->hinfo = hinfo; in htable_create()
244 memcpy(&hinfo->cfg, &minfo->cfg, sizeof(hinfo->cfg)); in htable_create()
258 hinfo->name = kstrdup(minfo->name, GFP_KERNEL); in htable_create()
265 hinfo->pde = proc_create_data(minfo->name, 0, in htable_create()
/net/rds/
Drecv.c529 struct rds_info_message minfo; in rds_inc_info_copy() local
531 minfo.seq = be64_to_cpu(inc->i_hdr.h_sequence); in rds_inc_info_copy()
532 minfo.len = be32_to_cpu(inc->i_hdr.h_len); in rds_inc_info_copy()
535 minfo.laddr = daddr; in rds_inc_info_copy()
536 minfo.faddr = saddr; in rds_inc_info_copy()
537 minfo.lport = inc->i_hdr.h_dport; in rds_inc_info_copy()
538 minfo.fport = inc->i_hdr.h_sport; in rds_inc_info_copy()
540 minfo.laddr = saddr; in rds_inc_info_copy()
541 minfo.faddr = daddr; in rds_inc_info_copy()
542 minfo.lport = inc->i_hdr.h_sport; in rds_inc_info_copy()
[all …]
/net/ipv4/
Dinet_diag.c162 struct inet_diag_meminfo minfo = { in inet_sk_diag_fill() local
169 if (nla_put(skb, INET_DIAG_MEMINFO, sizeof(minfo), &minfo) < 0) in inet_sk_diag_fill()