Home
last modified time | relevance | path

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

/net/decnet/
Ddn_route.c434 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_short()
477 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_long()
515 (int)cb->rt_flags, devname, skb->len, in dn_route_rx_packet()
520 if ((skb->pkt_type == PACKET_HOST) && (cb->rt_flags & DN_RT_F_RQR)) { in dn_route_rx_packet()
521 switch (cb->rt_flags & DN_RT_PKT_MSK) { in dn_route_rx_packet()
668 cb->rt_flags = flags; in dn_route_rcv()
755 cb->rt_flags &= ~DN_RT_F_RQR; in dn_output()
756 cb->rt_flags |= DN_RT_F_IE; in dn_output()
802 cb->rt_flags &= ~DN_RT_F_IE; in dn_forward()
803 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()
/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()
Droute.c471 (rt->rt_flags & in ipv4_confirm_neigh()
638 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe()
846 } else if ((rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice()
1634 rt->rt_flags = flags; in rt_dst_alloc()
1663 new_rt->rt_flags = rt->rt_flags; in rt_dst_clone()
2196 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow()
2703 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2764 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info()
2765 if (rt->rt_flags & RTCF_NOTIFY) in rt_fill_info()
3175 rt->rt_flags |= RTCF_NOTIFY; in inet_rtm_getroute()
Ddatagram.c59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
Dicmp.c615 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in __icmp_send()
677 if (!(rt->rt_flags & RTCF_LOCAL)) { in __icmp_send()
1048 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()
Dping.c800 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
Draw.c651 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
Dipconfig.c399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
Dudp.c1154 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg()
2323 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
Dtcp_ipv4.c241 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in tcp_v4_connect()
1396 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in tcp_v4_conn_request()
Dipmr.c2100 int local = skb_rtable(skb)->rt_flags & RTCF_LOCAL; in ip_mr_input()
/net/netfilter/
Dnf_conntrack_broadcast.c33 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/net/ipv4/netfilter/
Dnf_reject_ipv4.c112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
/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()
/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()
/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()
/net/
Dsocket.c3341 unsigned short rt_flags; member
3395 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
/net/sctp/
Dprotocol.c339 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()
/net/ipv6/
Dip6_tunnel.c621 if (rt->rt_flags & RTCF_LOCAL) { in ip4ip6_err()