Searched refs:rt_flags (Results 1 – 25 of 28) sorted by relevance
12
443 *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 …]
695 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()
256 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()
714 cb->rt_flags = DN_RT_F_RQR; in dn_nsp_send_conninit()
207 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()
616 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 …]
94 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
62 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
585 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()
291 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()
610 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
1024 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg()1783 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
182 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()
423 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
38 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
72 return rt && (rt->rt_flags & RTCF_LOCAL); in rpfilter_is_local()
112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
134 if (!(rt->rt_flags & RTCF_LOCAL) && in nf_nat_ipv4_csum_recalc()
522 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()
271 if (!(rt.rt_flags & RTF_GATEWAY) || /* Direct routes are fixed */ in ipxrtr_ioctl()
82 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()
189 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()
683 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()
3138 unsigned short rt_flags; member3192 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
353 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()