Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/decnet/
Ddn_route.c432 *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 …]
Ddn_nsp_in.c688 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()
Ddn_neigh.c238 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()
Ddn_nsp_out.c692 cb->rt_flags = DN_RT_F_RQR; in dn_nsp_send_conninit()
/Linux-v5.4/include/uapi/linux/
Droute.h36 unsigned short rt_flags; member
/Linux-v5.4/net/ipv4/
Dfib_frontend.c290 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()
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.c470 (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()
Dicmp.c614 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()
Dip_output.c378 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()
Dipconfig.c399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dping.c800 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
/Linux-v5.4/net/netfilter/
Dnf_conntrack_broadcast.c33 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/Linux-v5.4/include/net/
Ddn_route.h77 unsigned int rt_flags; member
Ddn.h160 __u8 rt_flags; member
Droute.h53 unsigned int rt_flags; member
/Linux-v5.4/net/ipv4/netfilter/
Dnf_reject_ipv4.c112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
/Linux-v5.4/net/appletalk/
Dddp.c516 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/
Dipv4.c78 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/
Dip_vs_core.c755 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()
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-v5.4/drivers/net/wireless/
Dmac80211_hwsim.c570 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/
Dsocket.c3260 unsigned short rt_flags; member
3314 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
/Linux-v5.4/drivers/net/
Dvxlan.c2382 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()

12