Home
last modified time | relevance | path

Searched refs:IPTOS_RT_MASK (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Dipt_rpfilter.c79 flow.flowi4_tos = iph->tos & IPTOS_RT_MASK; in rpfilter_mt()
/OK3568_Linux_fs/kernel/include/net/
H A Droute.h258 #define IPTOS_RT_MASK (IPTOS_TOS_MASK & ~3) macro
/OK3568_Linux_fs/kernel/net/ipv4/
H A Droute.c117 ((oldflp4)->flowi4_tos & (IPTOS_RT_MASK | RTO_ONLINK))
536 fl4->flowi4_tos = tos & IPTOS_RT_MASK; in ip_rt_fix_tos()
2094 tos &= IPTOS_RT_MASK; in ip_route_use_hint()
2350 tos &= IPTOS_RT_MASK; in ip_route_input_noref()
3242 fl4.flowi4_tos = rtm->rtm_tos & IPTOS_RT_MASK; in inet_rtm_getroute()
3267 rtm->rtm_tos & IPTOS_RT_MASK, dev, in inet_rtm_getroute()
H A Dfib_frontend.c295 .flowi4_tos = ip_hdr(skb)->tos & IPTOS_RT_MASK, in fib_compute_spec_dst()
H A Dudp.c2566 iph->tos & IPTOS_RT_MASK, in udp_v4_early_demux()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_policy.c2469 return IPTOS_RT_MASK & fl->u.ip4.flowi4_tos; in xfrm_get_tos()
/OK3568_Linux_fs/kernel/net/core/
H A Dfilter.c5293 fl4.flowi4_tos = params->tos & IPTOS_RT_MASK; in bpf_ipv4_fib_lookup()