Searched refs:rt_flags (Results 1 – 25 of 25) sorted by relevance
434 *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 …]
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()
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()
692 cb->rt_flags = DN_RT_F_RQR; in dn_nsp_send_conninit()
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()
85 xdst->u.rt.rt_flags = rt->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST | in xfrm4_fill_dst()
471 (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()
59 if ((rt->rt_flags & RTCF_BROADCAST) && !sock_flag(sk, SOCK_BROADCAST)) { in __ip4_datagram_connect()
615 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()
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()
800 if ((rt->rt_flags & RTCF_BROADCAST) && in ping_v4_sendmsg()
651 if (rt->rt_flags & RTCF_BROADCAST && !sock_flag(sk, SOCK_BROADCAST)) in raw_sendmsg()
399 rm.rt_flags = RTF_UP | RTF_GATEWAY; in ic_setup_routes()
1154 if ((rt->rt_flags & RTCF_BROADCAST) && in udp_sendmsg()2323 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST)) in __udp4_lib_rcv()
241 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()
2100 int local = skb_rtable(skb)->rt_flags & RTCF_LOCAL; in ip_mr_input()
33 if (rt == NULL || !(rt->rt_flags & RTCF_BROADCAST)) in nf_conntrack_broadcast_help()
112 if (skb_rtable(oldskb)->rt_flags & (RTCF_BROADCAST | RTCF_MULTICAST)) in nf_send_reset()
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()
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()
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()
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()
3341 unsigned short rt_flags; member3395 ret |= get_user(r4.rt_flags, &(ur4->rt_flags)); in routing_ioctl()
339 if (skb && skb_rtable(skb)->rt_flags & RTCF_BROADCAST) in sctp_v4_addr_valid()
621 if (rt->rt_flags & RTCF_LOCAL) { in ip4ip6_err()