Home
last modified time | relevance | path

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

/net/sched/
Dem_ipt.c44 struct xt_mtchk_param mtpar = {}; in check_match() local
50 mtpar.net = net; in check_match()
51 mtpar.table = "filter"; in check_match()
52 mtpar.hook_mask = 1 << im->hook; in check_match()
53 mtpar.family = im->match->family; in check_match()
54 mtpar.match = im->match; in check_match()
55 mtpar.entryinfo = &e; in check_match()
56 mtpar.matchinfo = (void *)im->match_data; in check_match()
57 return xt_check_match(&mtpar, mdata_len, 0, 0); in check_match()
/net/ipv4/netfilter/
Dip_tables.c524 struct xt_mtchk_param mtpar; in find_check_entry() local
531 memset(&mtpar, 0, sizeof(mtpar)); in find_check_entry()
532 mtpar.net = net; in find_check_entry()
533 mtpar.table = name; in find_check_entry()
534 mtpar.entryinfo = &e->ip; in find_check_entry()
535 mtpar.hook_mask = e->comefrom; in find_check_entry()
536 mtpar.family = NFPROTO_IPV4; in find_check_entry()
538 ret = find_check_match(ematch, &mtpar); in find_check_entry()
/net/ipv6/netfilter/
Dip6_tables.c544 struct xt_mtchk_param mtpar; in find_check_entry() local
551 memset(&mtpar, 0, sizeof(mtpar)); in find_check_entry()
552 mtpar.net = net; in find_check_entry()
553 mtpar.table = name; in find_check_entry()
554 mtpar.entryinfo = &e->ipv6; in find_check_entry()
555 mtpar.hook_mask = e->comefrom; in find_check_entry()
556 mtpar.family = NFPROTO_IPV6; in find_check_entry()
558 ret = find_check_match(ematch, &mtpar); in find_check_entry()
/net/bridge/netfilter/
Debtables.c652 struct xt_mtchk_param mtpar; in ebt_check_entry() local
693 memset(&mtpar, 0, sizeof(mtpar)); in ebt_check_entry()
695 mtpar.net = tgpar.net = net; in ebt_check_entry()
696 mtpar.table = tgpar.table = name; in ebt_check_entry()
697 mtpar.entryinfo = tgpar.entryinfo = e; in ebt_check_entry()
698 mtpar.hook_mask = tgpar.hook_mask = hookmask; in ebt_check_entry()
699 mtpar.family = tgpar.family = NFPROTO_BRIDGE; in ebt_check_entry()
700 ret = EBT_MATCH_ITERATE(e, ebt_check_match, &mtpar, &i); in ebt_check_entry()