/linux-6.3-rc2/include/uapi/linux/ |
A D | route.h | 36 unsigned short rt_flags; member
|
/linux-6.3-rc2/net/ipv4/ |
A D | fib_frontend.c | 281 if ((rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | RTCF_LOCAL)) == in fib_compute_spec_dst() 493 if (!(rt->rt_flags & RTF_HOST)) { in rtentry_to_fib_config() 518 if (rt->rt_flags & RTF_REJECT) { in rtentry_to_fib_config() 574 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()
|
A D | xfrm4_policy.c | 83 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
|
A D | datagram.c | 59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
|
A D | route.c | 443 (rt->rt_flags & in ipv4_confirm_neigh() 631 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe() 849 } else if ((rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice() 1638 rt->rt_flags = flags; in rt_dst_alloc() 1667 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone() 2384 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow() 2853 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route() 2964 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info() 2965 if (rt->rt_flags & RTCF_NOTIFY) in rt_fill_info() 3379 rt->rt_flags |= RTCF_NOTIFY; in inet_rtm_getroute()
|
A D | icmp.c | 633 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in __icmp_send() 695 if (!(rt->rt_flags & RTCF_LOCAL)) { in __icmp_send() 1247 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) { in icmp_rcv()
|
A D | ip_output.c | 376 if (rt->rt_flags&RTCF_MULTICAST) { in ip_mc_output() 388 ((rt->rt_flags & RTCF_LOCAL) || in ip_mc_output() 407 if (rt->rt_flags&RTCF_BROADCAST) { in ip_mc_output()
|
A D | af_inet.c | 999 get_user(rt.rt_flags, &ur->rt_flags) || in inet_compat_routing_ioctl()
|
A D | raw.c | 627 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
|
A D | ping.c | 815 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
|
A D | ipconfig.c | 423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
|
A D | tcp_ipv4.c | 242 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in tcp_v4_connect() 1532 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in tcp_v4_conn_request()
|
A D | udp.c | 1241 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg() 2467 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
|
/linux-6.3-rc2/include/net/ |
A D | compat.h | 36 unsigned short rt_flags; member
|
A D | route.h | 64 unsigned int rt_flags; member
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_conntrack_broadcast.c | 34 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
|
/linux-6.3-rc2/net/appletalk/ |
A D | ddp.c | 517 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() 1860 get_user(rt.rt_flags, &ur->rt_flags) || in atalk_compat_routing_ioctl()
|
/linux-6.3-rc2/net/ipv4/netfilter/ |
A D | nf_reject_ipv4.c | 256 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
|
/linux-6.3-rc2/net/dccp/ |
A D | ipv4.c | 84 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect() 601 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in dccp_v4_conn_request()
|
/linux-6.3-rc2/net/netfilter/ipvs/ |
A D | ip_vs_core.c | 737 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL) && in ip_vs_route_me_harder() 1645 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL)) in ip_vs_in_icmp() 1659 (skb_rtable(skb)->rt_flags & RTCF_LOCAL)) { in ip_vs_in_icmp()
|
A D | ip_vs_xmit.c | 188 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()
|
/linux-6.3-rc2/drivers/net/wireless/ |
A D | mac80211_hwsim.c | 736 u8 rt_flags; member 744 u8 rt_flags; member 1137 hdr->rt_flags = 0; in mac80211_hwsim_monitor_rx() 1178 hdr->rt_flags = 0; in mac80211_hwsim_monitor_ack()
|
/linux-6.3-rc2/drivers/net/vxlan/ |
A D | vxlan_core.c | 2412 u32 rt_flags) in encap_bypass_if_local() argument 2422 if (rt_flags & RTCF_LOCAL && in encap_bypass_if_local() 2423 !(rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST))) { in encap_bypass_if_local() 2568 &rt->dst, rt->rt_flags); in vxlan_xmit_one()
|
/linux-6.3-rc2/drivers/net/wireless/intel/ipw2x00/ |
A D | ipw2200.h | 1149 u8 rt_flags; /* radiotap packet flags */ member
|
/linux-6.3-rc2/net/sctp/ |
A D | protocol.c | 345 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()
|