Searched refs:rt2 (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/net/ipv6/ |
D | mip6.c | 356 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input() local 357 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input() 374 struct rt2_hdr *rt2; in mip6_rthdr_output() local 383 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output() 384 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output() 385 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output() 386 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output() 387 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output() 388 memset(&rt2->reserved, 0, sizeof(rt2->reserved)); in mip6_rthdr_output() 390 WARN_ON(rt2->rt_hdr.hdrlen != 2); in mip6_rthdr_output() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | icmp.c | 448 struct rtable *rt, *rt2; in icmp_route_lookup() local 467 rt2 = rt; in icmp_route_lookup() 472 if (rt != rt2) in icmp_route_lookup() 484 rt2 = __ip_route_output_key(net, &fl4_dec); in icmp_route_lookup() 485 if (IS_ERR(rt2)) in icmp_route_lookup() 486 err = PTR_ERR(rt2); in icmp_route_lookup() 492 rt2 = ip_route_output_key(net, &fl4_2); in icmp_route_lookup() 493 if (IS_ERR(rt2)) { in icmp_route_lookup() 494 err = PTR_ERR(rt2); in icmp_route_lookup() 500 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup() [all …]
|
D | ip_options.c | 615 struct rtable *rt2; in ip_options_rcv_srr() local 643 rt2 = skb_rtable(skb); in ip_options_rcv_srr() 644 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 650 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
/linux-4.1.27/net/mpls/ |
D | af_mpls.c | 936 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local 961 rt2 = mpls_rt_alloc(lo->addr_len); in resize_platform_label_table() 962 if (!rt2) in resize_platform_label_table() 964 RCU_INIT_POINTER(rt2->rt_dev, lo); in resize_platform_label_table() 965 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table() 966 rt2->rt_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table() 967 memcpy(rt2->rt_via, lo->dev_addr, lo->addr_len); in resize_platform_label_table() 989 RCU_INIT_POINTER(labels[MPLS_LABEL_IPV6NULL], rt2); in resize_platform_label_table() 990 rt2 = NULL; in resize_platform_label_table() 1005 mpls_rt_free(rt2); in resize_platform_label_table()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | armv8_deprecated.c | 373 int rn, rt2, res = 0; in swp_handler() local 393 rt2 = aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET); in swp_handler() 396 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_h323_main.c | 747 struct rtable *rt1, *rt2; in callforward_do_filter() local 756 if (!afinfo->route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 759 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter() 760 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 762 dst_release(&rt2->dst); in callforward_do_filter() 771 struct rt6_info *rt1, *rt2; in callforward_do_filter() local 780 if (!afinfo->route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 783 rt6_nexthop(rt2)) && in callforward_do_filter() 784 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 786 dst_release(&rt2->dst); in callforward_do_filter()
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
D | actions-thumb.c | 166 int rt2 = (insn >> 8) & 0xf; in t32_emulate_ldrdstrd() local 170 register unsigned long rt2v asm("r1") = regs->uregs[rt2]; in t32_emulate_ldrdstrd() 184 regs->uregs[rt2] = rt2v; in t32_emulate_ldrdstrd()
|