Home
last modified time | relevance | path

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

12

/openbmc/linux/include/uapi/linux/
H A Droute.h36 unsigned short rt_flags; member
/openbmc/linux/net/ipv4/
H 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()
585 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
591 if (rt->rt_flags & (RTF_MTU | RTF_WINDOW | RTF_IRTT)) { in rtentry_to_fib_config()
599 if (rt->rt_flags & RTF_MTU) in rtentry_to_fib_config()
602 if (rt->rt_flags & RTF_WINDOW) in rtentry_to_fib_config()
605 if (rt->rt_flags & RTF_IRTT) in rtentry_to_fib_config()
H A Dxfrm4_policy.c79 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
H A Ddatagram.c59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
H A Droute.c444 (rt->rt_flags & in ipv4_confirm_neigh()
632 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe()
847 (rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice()
1632 rt->rt_flags = flags; in rt_dst_alloc()
1660 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
2380 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow()
2849 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2958 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info()
2959 if (rt->rt_flags & RTCF_NOTIFY) in rt_fill_info()
3373 rt->rt_flags |= RTCF_NOTIFY; in inet_rtm_getroute()
H A Dicmp.c643 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in __icmp_send()
705 if (!(rt->rt_flags & RTCF_LOCAL)) { in __icmp_send()
1269 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) { in icmp_rcv()
H A Dip_output.c381 if (rt->rt_flags&RTCF_MULTICAST) { in ip_mc_output()
393 ((rt->rt_flags & RTCF_LOCAL) || in ip_mc_output()
412 if (rt->rt_flags&RTCF_BROADCAST) { in ip_mc_output()
H A Daf_inet.c1022 get_user(rt.rt_flags, &ur->rt_flags) || in inet_compat_routing_ioctl()
H A Draw.c628 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
H A Dping.c800 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
H A Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
H A Dtcp_ipv4.c254 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in tcp_v4_connect()
1545 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in tcp_v4_conn_request()
H A Dudp.c1246 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg()
2441 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
/openbmc/linux/include/net/
H A Dcompat.h36 unsigned short rt_flags; member
H A Droute.h64 unsigned int rt_flags; member
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_broadcast.c34 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/openbmc/linux/net/appletalk/
H 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()
1859 get_user(rt.rt_flags, &ur->rt_flags) || in atalk_compat_routing_ioctl()
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c254 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
/openbmc/linux/net/dccp/
H A Dipv4.c84 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect()
602 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in dccp_v4_conn_request()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_core.c737 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL) && in ip_vs_route_me_harder()
1639 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL)) in ip_vs_in_icmp()
1653 (skb_rtable(skb)->rt_flags & RTCF_LOCAL)) { in ip_vs_in_icmp()
H 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()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c2405 u32 rt_flags) in encap_bypass_if_local() argument
2415 if (rt_flags & RTCF_LOCAL && in encap_bypass_if_local()
2416 !(rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) && in encap_bypass_if_local()
2561 &rt->dst, rt->rt_flags); in vxlan_xmit_one()
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h1148 u8 rt_flags; /* radiotap packet flags */ member
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c741 u8 rt_flags; member
749 u8 rt_flags; member
1247 hdr->rt_flags = 0; in mac80211_hwsim_monitor_rx()
1288 hdr->rt_flags = 0; in mac80211_hwsim_monitor_ack()
/openbmc/linux/net/sctp/
H A Dprotocol.c345 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()

12