Home
last modified time | relevance | path

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

12

/net/decnet/
Ddn_route.c443 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_short()
486 *ptr++ = (cb->rt_flags & ~DN_RT_F_RQR) | DN_RT_F_RTS; in dn_return_long()
524 (int)cb->rt_flags, devname, skb->len, in dn_route_rx_packet()
529 if ((skb->pkt_type == PACKET_HOST) && (cb->rt_flags & DN_RT_F_RQR)) { in dn_route_rx_packet()
530 switch (cb->rt_flags & DN_RT_PKT_MSK) { in dn_route_rx_packet()
675 cb->rt_flags = flags; in dn_route_rcv()
771 cb->rt_flags &= ~DN_RT_F_RQR; in dn_output()
772 cb->rt_flags |= DN_RT_F_IE; in dn_output()
819 cb->rt_flags &= ~DN_RT_F_IE; in dn_forward()
820 if (rt->rt_flags & RTCF_DOREDIRECT) in dn_forward()
[all …]
Ddn_nsp_in.c695 if (cb->rt_flags & DN_RT_F_RTS) in dn_nsp_no_socket()
747 if (unlikely(cb->rt_flags & DN_RT_F_RTS)) in dn_nsp_rx_packet()
777 if (unlikely(cb->rt_flags & DN_RT_F_RTS)) { in dn_nsp_rx_packet()
831 if (cb->rt_flags & DN_RT_F_RTS) { in dn_nsp_backlog_rcv()
Ddn_neigh.c256 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()
297 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS)); in dn_short_output()
336 sp->msgflg = DN_RT_PKT_SHORT|(cb->rt_flags&(DN_RT_F_RQR|DN_RT_F_RTS)); in dn_phase3_output()
Ddn_nsp_out.c714 cb->rt_flags = DN_RT_F_RQR; in dn_nsp_send_conninit()
/net/ipv4/
Dfib_frontend.c207 if ((rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | RTCF_LOCAL)) == in fib_compute_spec_dst()
372 if (!(rt->rt_flags & RTF_HOST)) { in rtentry_to_fib_config()
397 if (rt->rt_flags & RTF_REJECT) { in rtentry_to_fib_config()
440 if (rt->rt_flags & RTF_GATEWAY && in rtentry_to_fib_config()
448 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw) in rtentry_to_fib_config()
454 if (rt->rt_flags & (RTF_MTU | RTF_WINDOW | RTF_IRTT)) { in rtentry_to_fib_config()
462 if (rt->rt_flags & RTF_MTU) in rtentry_to_fib_config()
465 if (rt->rt_flags & RTF_WINDOW) in rtentry_to_fib_config()
468 if (rt->rt_flags & RTF_IRTT) in rtentry_to_fib_config()
Droute.c616 rt->rt_flags |= RTCF_REDIRECTED; in fill_route_from_fnhe()
816 } else if ((rt->rt_flags & RTCF_REDIRECTED) || in ipv4_negative_advice()
1483 rth->rt_flags = RTCF_MULTICAST; in ip_route_input_mc()
1493 rth->rt_flags |= RTCF_LOCAL; in ip_route_input_mc()
1613 rth->rt_flags = flags; in __mkroute_input()
1787 rth->rt_flags = flags|RTCF_LOCAL; in ip_route_input_slow()
1799 rth->rt_flags &= ~RTCF_LOCAL; in ip_route_input_slow()
1989 rth->rt_flags = flags; in __mkroute_output()
2271 rt->rt_flags = ort->rt_flags; in ipv4_blackhole_route()
2329 r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED; in rt_fill_info()
[all …]
Dxfrm4_policy.c94 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
Ddatagram.c62 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
Dicmp.c585 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in icmp_send()
640 if (!(rt->rt_flags & RTCF_LOCAL)) { in icmp_send()
994 if (rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) { in icmp_rcv()
Dip_output.c291 if (rt->rt_flags&RTCF_MULTICAST) { in ip_mc_output()
303 ((rt->rt_flags & RTCF_LOCAL) || in ip_mc_output()
322 if (rt->rt_flags&RTCF_BROADCAST) { in ip_mc_output()
Draw.c610 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
Dudp.c1024 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg()
1783 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
Dtcp_ipv4.c182 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in tcp_v4_connect()
1286 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in tcp_v4_conn_request()
Dipconfig.c423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
/net/netfilter/
Dnf_conntrack_broadcast.c38 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
/net/ipv4/netfilter/
Dipt_rpfilter.c72 return rt && (rt->rt_flags & RTCF_LOCAL); in rpfilter_is_local()
Dnf_reject_ipv4.c112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
Dnf_nat_l3proto_ipv4.c134 if (!(rt->rt_flags & RTCF_LOCAL) && in nf_nat_ipv4_csum_recalc()
/net/appletalk/
Dddp.c522 if (r->rt_flags != rt->flags) in atrtr_create()
573 rt->flags = r->rt_flags; in atrtr_create()
755 rtdef.rt_flags = RTF_UP; in atif_ioctl()
760 rtdef.rt_flags |= RTF_HOST; in atif_ioctl()
/net/ipx/
Dipx_route.c271 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()
/net/dccp/
Dipv4.c82 if (rt->rt_flags & (RTCF_MULTICAST | RTCF_BROADCAST)) { in dccp_v4_connect()
606 if (skb_rtable(skb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in dccp_v4_conn_request()
/net/netfilter/ipvs/
Dip_vs_xmit.c189 old_rt_is_local = skb_rtable(skb)->rt_flags & RTCF_LOCAL; in crosses_local_route_boundary()
314 local = (rt->rt_flags & RTCF_LOCAL) ? 1 : 0; in __ip_vs_get_out_rt()
Dip_vs_core.c683 skb_rtable(skb)->rt_flags & RTCF_LOCAL) && in ip_vs_route_me_harder()
1363 if (!(skb_rtable(skb)->rt_flags & RTCF_LOCAL)) in ip_vs_in_icmp()
/net/
Dsocket.c3138 unsigned short rt_flags; member
3192 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
/net/sctp/
Dprotocol.c353 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()

12