Searched refs:rt2 (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/net/ipv6/ |
| D | mip6.c | 342 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input() local 343 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input() 360 struct rt2_hdr *rt2; in mip6_rthdr_output() local 369 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output() 370 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output() 371 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output() 372 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output() 373 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output() 374 memset(&rt2->reserved, 0, sizeof(rt2->reserved)); in mip6_rthdr_output() 376 WARN_ON(rt2->rt_hdr.hdrlen != 2); in mip6_rthdr_output() [all …]
|
| /Linux-v5.4/net/ipv4/ |
| D | icmp.c | 467 struct rtable *rt, *rt2; in icmp_route_lookup() local 489 rt2 = rt; in icmp_route_lookup() 494 if (rt != rt2) in icmp_route_lookup() 507 rt2 = __ip_route_output_key(net, &fl4_dec); in icmp_route_lookup() 508 if (IS_ERR(rt2)) in icmp_route_lookup() 509 err = PTR_ERR(rt2); in icmp_route_lookup() 515 rt2 = ip_route_output_key(net, &fl4_2); in icmp_route_lookup() 516 if (IS_ERR(rt2)) { in icmp_route_lookup() 517 err = PTR_ERR(rt2); in icmp_route_lookup() 524 RT_TOS(tos), rt2->dst.dev); in icmp_route_lookup() [all …]
|
| D | ip_options.c | 624 struct rtable *rt2; in ip_options_rcv_srr() local 652 rt2 = skb_rtable(skb); in ip_options_rcv_srr() 653 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr() 659 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
|
| /Linux-v5.4/net/mpls/ |
| D | af_mpls.c | 2506 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local 2532 rt2 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table() 2533 if (IS_ERR(rt2)) in resize_platform_label_table() 2535 RCU_INIT_POINTER(rt2->rt_nh->nh_dev, lo); in resize_platform_label_table() 2536 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table() 2537 rt2->rt_payload_type = MPT_IPV6; in resize_platform_label_table() 2538 rt2->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; in resize_platform_label_table() 2539 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table() 2540 rt2->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table() 2541 memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr, in resize_platform_label_table() [all …]
|
| /Linux-v5.4/arch/arm64/kernel/ |
| D | armv8_deprecated.c | 375 int rn, rt2, res = 0; in swp_handler() local 395 rt2 = aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET); in swp_handler() 398 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
|
| D | traps.c | 653 int rt2 = (esr & ESR_ELx_CP15_64_ISS_RT2_MASK) >> ESR_ELx_CP15_64_ISS_RT2_SHIFT; in compat_cntvct_read_handler() local 657 pt_regs_write_reg(regs, rt2, upper_32_bits(val)); in compat_cntvct_read_handler()
|
| /Linux-v5.4/net/netfilter/ |
| D | nf_conntrack_h323_main.c | 729 struct rtable *rt1, *rt2; in callforward_do_filter() local 738 if (!nf_ip_route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 741 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter() 742 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 744 dst_release(&rt2->dst); in callforward_do_filter() 752 struct rt6_info *rt1, *rt2; in callforward_do_filter() local 762 if (!nf_ip6_route(net, (struct dst_entry **)&rt2, in callforward_do_filter() 765 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter() 766 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter() 768 dst_release(&rt2->dst); in callforward_do_filter()
|
| /Linux-v5.4/arch/arm/probes/kprobes/ |
| D | actions-thumb.c | 163 int rt2 = (insn >> 8) & 0xf; in t32_emulate_ldrdstrd() local 167 register unsigned long rt2v asm("r1") = regs->uregs[rt2]; in t32_emulate_ldrdstrd() 181 regs->uregs[rt2] = rt2v; in t32_emulate_ldrdstrd()
|
| /Linux-v5.4/arch/mips/crypto/ |
| D | crc32-mips.c | 32 _ASM_MACRO_3R(OP, rt, rs, rt2, \
|