Home
last modified time | relevance | path

Searched refs:rt2 (Results 1 – 11 of 11) sorted by relevance

/linux/net/ipv6/
A Dmip6.c292 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input() local
293 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input()
310 struct rt2_hdr *rt2; in mip6_rthdr_output() local
319 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
320 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output()
321 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output()
322 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output()
323 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()
324 memset(&rt2->reserved, 0, sizeof(rt2->reserved)); in mip6_rthdr_output()
326 WARN_ON(rt2->rt_hdr.hdrlen != 2); in mip6_rthdr_output()
[all …]
/linux/net/ipv4/
A Dicmp.c512 rt2 = rt; in icmp_route_lookup()
517 if (rt != rt2) in icmp_route_lookup()
531 if (IS_ERR(rt2)) in icmp_route_lookup()
532 err = PTR_ERR(rt2); in icmp_route_lookup()
539 if (IS_ERR(rt2)) { in icmp_route_lookup()
540 err = PTR_ERR(rt2); in icmp_route_lookup()
557 rt2 = (struct rtable *) xfrm_lookup(net, &rt2->dst, in icmp_route_lookup()
560 if (!IS_ERR(rt2)) { in icmp_route_lookup()
563 rt = rt2; in icmp_route_lookup()
567 return rt2; in icmp_route_lookup()
[all …]
A Dip_options.c606 struct rtable *rt2; in ip_options_rcv_srr() local
634 rt2 = skb_rtable(skb); in ip_options_rcv_srr()
635 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
641 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
/linux/net/mpls/
A Daf_mpls.c2522 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2548 rt2 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2549 if (IS_ERR(rt2)) in resize_platform_label_table()
2551 rt2->rt_nh->nh_dev = lo; in resize_platform_label_table()
2552 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2553 rt2->rt_payload_type = MPT_IPV6; in resize_platform_label_table()
2555 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2556 rt2->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2557 memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr, in resize_platform_label_table()
2581 rt2 = NULL; in resize_platform_label_table()
[all …]
/linux/arch/arm64/kernel/
A Darmv8_deprecated.c369 int rn, rt2, res = 0; in swp_handler() local
389 rt2 = aarch32_insn_extract_reg_num(instr, A32_RT2_OFFSET); in swp_handler()
392 data = (u32)regs->user_regs.regs[rt2]; in swp_handler()
A Dtraps.c719 int rt2 = (esr & ESR_ELx_CP15_64_ISS_RT2_MASK) >> ESR_ELx_CP15_64_ISS_RT2_SHIFT; in compat_cntvct_read_handler() local
723 pt_regs_write_reg(regs, rt2, upper_32_bits(val)); in compat_cntvct_read_handler()
/linux/net/netfilter/
A Dnf_conntrack_h323_main.c730 struct rtable *rt1, *rt2; in callforward_do_filter() local
739 if (!nf_ip_route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
742 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter()
743 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter()
745 dst_release(&rt2->dst); in callforward_do_filter()
753 struct rt6_info *rt1, *rt2; in callforward_do_filter() local
763 if (!nf_ip6_route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
766 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter()
767 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter()
769 dst_release(&rt2->dst); in callforward_do_filter()
/linux/arch/arm/probes/kprobes/
A Dactions-thumb.c163 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/net/mctp/
A Droute.c666 struct mctp_route *rt2) in mctp_rt_compare_exact() argument
669 return rt1->dev->net == rt2->dev->net && in mctp_rt_compare_exact()
670 rt1->min == rt2->min && in mctp_rt_compare_exact()
671 rt1->max == rt2->max; in mctp_rt_compare_exact()
/linux/Documentation/devicetree/bindings/sound/
A Drenesas,rz-ssi.yaml61 MID/RID value of SSI rt2 = 0x25f
/linux/arch/mips/crypto/
A Dcrc32-mips.c32 _ASM_MACRO_3R(OP, rt, rs, rt2, \

Completed in 26 milliseconds