Home
last modified time | relevance | path

Searched refs:rt_flags (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dnip_fib.h63 uint32_t rt_flags; member
103 rt->rt_flags |= NIP_RT_EXPIRES_FLAGS; in nip_rt_set_expires()
108 rt->rt_flags &= ~NIP_RT_EXPIRES_FLAGS; in nip_rt_clean_expires()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Droute.c141 if (rt->rt_flags & RTF_GATEWAY) in nip_nexthop()
239 rt->rt_flags &= ~RTF_EXPIRES; in nip_rt_set_from()
257 rt->rt_flags = ort->rt_flags; in nip_rt_copy_init()
274 pcpu_rt->rt_flags |= RTF_PCPU; in nip_rt_pcpu_alloc()
382 if (!(rt->rt_flags & RTF_LOCAL)) in nip_route_output_flags()
542 rt->rt_flags = cfg->fc_flags; in nip_route_info_create()
717 if (rt->rt_flags & RTF_GATEWAY) in nip_choose_neigh_daddr()
835 rt->rt_flags = RTF_UP | RTF_NONEXTHOP; in nip_addrconf_dst_alloc()
836 rt->rt_flags |= RTF_LOCAL; in nip_addrconf_dst_alloc()
983 seq_printf(seq, "%4u %4s\n", rt->rt_flags, in nip_route_show_table()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Droute.h28 unsigned short rt_flags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Droute.h15 unsigned short rt_flags; member
/kernel/linux/linux-5.10/include/uapi/linux/
Droute.h36 unsigned short rt_flags; member
/kernel/linux/linux-5.10/net/ipv4/
Dfib_frontend.c280 if ((rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | RTCF_LOCAL)) == in fib_compute_spec_dst()
490 if (!(rt->rt_flags & RTF_HOST)) { in rtentry_to_fib_config()
515 if (rt->rt_flags & RTF_REJECT) { in rtentry_to_fib_config()
571 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
582 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
588 if (rt->rt_flags & (RTF_MTU | RTF_WINDOW | RTF_IRTT)) { in rtentry_to_fib_config()
596 if (rt->rt_flags & RTF_MTU) in rtentry_to_fib_config()
599 if (rt->rt_flags & RTF_WINDOW) in rtentry_to_fib_config()
602 if (rt->rt_flags & RTF_IRTT) in rtentry_to_fib_config()
Dxfrm4_policy.c85 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
Ddatagram.c59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
Droute.c473 (rt->rt_flags & in ipv4_confirm_neigh()
660 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe()
878 } else if ((rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice()
1680 rt->rt_flags = flags; in rt_dst_alloc()
1709 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
2308 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow()
2780 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2891 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info()
2892 if (rt->rt_flags & RTCF_NOTIFY) in rt_fill_info()
3303 rt->rt_flags |= RTCF_NOTIFY; in inet_rtm_getroute()
Dicmp.c639 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in __icmp_send()
701 if (!(rt->rt_flags & RTCF_LOCAL)) { in __icmp_send()
1119 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) { in icmp_rcv()
Dip_output.c385 if (rt->rt_flags&RTCF_MULTICAST) { in ip_mc_output()
397 ((rt->rt_flags & RTCF_LOCAL) || in ip_mc_output()
416 if (rt->rt_flags&RTCF_BROADCAST) { in ip_mc_output()
Daf_inet.c1006 get_user(rt.rt_flags, &ur->rt_flags) || in inet_compat_routing_ioctl()
Draw.c655 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
Dping.c810 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
/kernel/linux/linux-5.10/include/net/
Dcompat.h38 unsigned short rt_flags; member
Droute.h53 unsigned int rt_flags; member
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_broadcast.c33 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/kernel/linux/linux-5.10/net/appletalk/
Dddp.c517 if (r->rt_flags != rt->flags) in atrtr_create()
568 rt->flags = r->rt_flags; in atrtr_create()
750 rtdef.rt_flags = RTF_UP; in atif_ioctl()
755 rtdef.rt_flags |= RTF_HOST; in atif_ioctl()
1859 get_user(rt.rt_flags, &ur->rt_flags) || in atalk_compat_routing_ioctl()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_reject_ipv4.c130 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
/kernel/linux/linux-5.10/net/dccp/
Dipv4.c78 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect()
586 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in dccp_v4_conn_request()
/kernel/liteos_a/testsuites/unittest/container/
DIt_container_test.cpp187 rt.rt_flags = RTF_GATEWAY; in TryResetNetAddr()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_core.c749 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL) && in ip_vs_route_me_harder()
1704 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL)) in ip_vs_in_icmp()
1718 (skb_rtable(skb)->rt_flags & RTCF_LOCAL)) { in ip_vs_in_icmp()
Dip_vs_xmit.c188 old_rt_is_local = skb_rtable(skb)->rt_flags & RTCF_LOCAL; in crosses_local_route_boundary()
362 local = (rt->rt_flags & RTCF_LOCAL) ? 1 : 0; in __ip_vs_get_out_rt()
/kernel/linux/linux-5.10/drivers/net/wireless/
Dmac80211_hwsim.c636 u8 rt_flags; member
644 u8 rt_flags; member
978 hdr->rt_flags = 0; in mac80211_hwsim_monitor_rx()
1019 hdr->rt_flags = 0; in mac80211_hwsim_monitor_ack()
/kernel/linux/linux-5.10/drivers/net/vxlan/
Dvxlan_core.c2557 u32 rt_flags) in encap_bypass_if_local() argument
2567 if (rt_flags & RTCF_LOCAL && in encap_bypass_if_local()
2568 !(rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST))) { in encap_bypass_if_local()
2702 &rt->dst, rt->rt_flags); in vxlan_xmit_one()

12