/Linux-v5.4/net/decnet/ |
D | dn_route.c | 432 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_short() 475 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_long() 513 (int)cb->rt_flags, devname, skb->len, in dn_route_rx_packet() 518 if ((skb->pkt_type == PACKET_HOST) && (cb->rt_flags & DN_RT_F_RQR)) { in dn_route_rx_packet() 519 switch (cb->rt_flags & DN_RT_PKT_MSK) { in dn_route_rx_packet() 666 cb->rt_flags = flags; in dn_route_rcv() 753 cb->rt_flags &= ~DN_RT_F_RQR; in dn_output() 754 cb->rt_flags |= DN_RT_F_IE; in dn_output() 800 cb->rt_flags &= ~DN_RT_F_IE; in dn_forward() 801 if (rt->rt_flags & RTCF_DOREDIRECT) in dn_forward() [all …]
|
D | dn_nsp_in.c | 688 if (cb->rt_flags & DN_RT_F_RTS) in dn_nsp_no_socket() 741 if (unlikely(cb->rt_flags & DN_RT_F_RTS)) in dn_nsp_rx_packet() 771 if (unlikely(cb->rt_flags & DN_RT_F_RTS)) { in dn_nsp_rx_packet() 822 if (cb->rt_flags & DN_RT_F_RTS) { in dn_nsp_backlog_rcv()
|
D | dn_neigh.c | 238 lp->msgflg = DN_RT_PKT_LONG|(cb->rt_flags&(DN_RT_F_IE|DN_RT_F_RQR|DN_RT_F_RTS)); in dn_long_output() 284 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS)); in dn_short_output() 326 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS)); in dn_phase3_output()
|
D | dn_nsp_out.c | 692 cb->rt_flags = DN_RT_F_RQR; in dn_nsp_send_conninit()
|
/Linux-v5.4/include/uapi/linux/ |
D | route.h | 36 unsigned short rt_flags; member
|
/Linux-v5.4/net/ipv4/ |
D | fib_frontend.c | 290 if ((rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | RTCF_LOCAL)) == in fib_compute_spec_dst() 496 if (!(rt->rt_flags & RTF_HOST)) { in rtentry_to_fib_config() 521 if (rt->rt_flags & RTF_REJECT) { in rtentry_to_fib_config() 577 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()
|
D | xfrm4_policy.c | 85 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
|
D | datagram.c | 59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
|
D | route.c | 470 (rt->rt_flags & in ipv4_confirm_neigh() 637 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe() 845 } else if ((rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice() 1632 rt->rt_flags = flags; in rt_dst_alloc() 1661 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone() 2194 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow() 2700 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route() 2761 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info() 2762 if (rt->rt_flags & RTCF_NOTIFY) in rt_fill_info() 3172 rt->rt_flags |= RTCF_NOTIFY; in inet_rtm_getroute()
|
D | icmp.c | 614 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in __icmp_send() 676 if (!(rt->rt_flags & RTCF_LOCAL)) { in __icmp_send() 1047 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) { in icmp_rcv()
|
D | ip_output.c | 378 if (rt->rt_flags&RTCF_MULTICAST) { in ip_mc_output() 390 ((rt->rt_flags & RTCF_LOCAL) || in ip_mc_output() 409 if (rt->rt_flags&RTCF_BROADCAST) { in ip_mc_output()
|
D | ipconfig.c | 399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
|
D | ping.c | 800 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_broadcast.c | 33 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
|
/Linux-v5.4/include/net/ |
D | dn_route.h | 77 unsigned int rt_flags; member
|
D | dn.h | 160 __u8 rt_flags; member
|
D | route.h | 53 unsigned int rt_flags; member
|
/Linux-v5.4/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
|
/Linux-v5.4/net/appletalk/ |
D | ddp.c | 516 if (r->rt_flags != rt->flags) in atrtr_create() 567 rt->flags = r->rt_flags; in atrtr_create() 749 rtdef.rt_flags = RTF_UP; in atif_ioctl() 754 rtdef.rt_flags |= RTF_HOST; in atif_ioctl()
|
/Linux-v5.4/net/dccp/ |
D | ipv4.c | 78 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect() 582 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in dccp_v4_conn_request()
|
/Linux-v5.4/net/netfilter/ipvs/ |
D | ip_vs_core.c | 755 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL) && in ip_vs_route_me_harder() 1714 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL)) in ip_vs_in_icmp() 1728 (skb_rtable(skb)->rt_flags & RTCF_LOCAL)) { in ip_vs_in_icmp()
|
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-v5.4/drivers/net/wireless/ |
D | mac80211_hwsim.c | 570 u8 rt_flags; member 578 u8 rt_flags; member 859 hdr->rt_flags = 0; in mac80211_hwsim_monitor_rx() 900 hdr->rt_flags = 0; in mac80211_hwsim_monitor_ack()
|
/Linux-v5.4/net/ |
D | socket.c | 3260 unsigned short rt_flags; member 3314 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
|
/Linux-v5.4/drivers/net/ |
D | vxlan.c | 2382 u32 rt_flags) in encap_bypass_if_local() argument 2392 if (rt_flags & RTCF_LOCAL && in encap_bypass_if_local() 2393 !(rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST))) { in encap_bypass_if_local() 2526 &rt->dst, rt->rt_flags); in vxlan_xmit_one()
|