Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/uapi/linux/
A Droute.h36 unsigned short rt_flags; member
/linux-6.3-rc2/net/ipv4/
A Dfib_frontend.c281 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 Dxfrm4_policy.c83 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
A Ddatagram.c59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
A Droute.c443 (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 Dicmp.c633 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 Dip_output.c376 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 Daf_inet.c999 get_user(rt.rt_flags, &ur->rt_flags) || in inet_compat_routing_ioctl()
A Draw.c627 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
A Dping.c815 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
A Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
A Dtcp_ipv4.c242 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 Dudp.c1241 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 Dcompat.h36 unsigned short rt_flags; member
A Droute.h64 unsigned int rt_flags; member
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_broadcast.c34 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/linux-6.3-rc2/net/appletalk/
A 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()
1860 get_user(rt.rt_flags, &ur->rt_flags) || in atalk_compat_routing_ioctl()
/linux-6.3-rc2/net/ipv4/netfilter/
A Dnf_reject_ipv4.c256 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
/linux-6.3-rc2/net/dccp/
A Dipv4.c84 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 Dip_vs_core.c737 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 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()
/linux-6.3-rc2/drivers/net/wireless/
A Dmac80211_hwsim.c736 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 Dvxlan_core.c2412 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 Dipw2200.h1149 u8 rt_flags; /* radiotap packet flags */ member
/linux-6.3-rc2/net/sctp/
A Dprotocol.c345 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()

Completed in 96 milliseconds

12