Home
last modified time | relevance | path

Searched refs:ttl_check (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/net/netfilter/
Dnfnetlink_osf.c31 int ttl_check, unsigned char f_ttl) in nf_osf_ttl() argument
35 if (ttl_check != -1) { in nf_osf_ttl()
36 if (ttl_check == NF_OSF_TTL_TRUE) in nf_osf_ttl()
38 if (ttl_check == NF_OSF_TTL_NOCHECK) in nf_osf_ttl()
71 int ttl_check, in nf_osf_match_one() argument
79 if (ctx->totlen != f->ss || !nf_osf_ttl(skb, ttl_check, f->ttl)) in nf_osf_match_one()
205 int fcount = 0, ttl_check; in nf_osf_match() local
216 ttl_check = (info->flags & NF_OSF_TTL) ? info->ttl : -1; in nf_osf_match()
225 if (!nf_osf_match_one(skb, f, ttl_check, &ctx)) in nf_osf_match()
/Linux-v4.19/drivers/net/ethernet/rocker/
Drocker_ofdpa.c125 bool ttl_check; member
157 bool ttl_check; member
665 entry->l3_unicast.ttl_check)) in ofdpa_cmd_group_tbl_add_l3_unicast()
1201 __be16 vlan_id, bool ttl_check, u32 pport) in ofdpa_group_l3_unicast() argument
1215 entry->l3_unicast.ttl_check = ttl_check; in ofdpa_group_l3_unicast()
1252 const u8 *eth_dst, bool ttl_check) in ofdpa_neigh_update() argument
1256 entry->ttl_check = ttl_check; in ofdpa_neigh_update()
1295 entry->ttl_check = true; in ofdpa_port_ipv4_neigh()
1323 entry->ttl_check, in ofdpa_port_ipv4_neigh()