Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dmip6.c298 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; in mip6_rthdr_input()
299 int err = rt2->rt_hdr.nexthdr; in mip6_rthdr_input()
316 struct rt2_hdr *rt2; in mip6_rthdr_output()
325 rt2 = (struct rt2_hdr *)skb_transport_header(skb); in mip6_rthdr_output()
326 rt2->rt_hdr.nexthdr = nexthdr; in mip6_rthdr_output()
327 rt2->rt_hdr.hdrlen = (x->props.header_len >> 3) - 1; in mip6_rthdr_output()
328 rt2->rt_hdr.type = IPV6_SRCRT_TYPE_2; in mip6_rthdr_output()
329 rt2->rt_hdr.segments_left = 1; in mip6_rthdr_output()
330 memset(&rt2->reserved, 0, sizeof(rt2 in mip6_rthdr_output()
291 struct rt2_hdr *rt2 = (struct rt2_hdr *)skb->data; mip6_rthdr_input() local
309 struct rt2_hdr *rt2; mip6_rthdr_output() local
[all...]
/linux/net/ipv4/
H A Dicmp.c502 struct rtable *rt, *rt2; in icmp_route_lookup() local
525 rt2 = rt; in icmp_route_lookup()
531 if (rt != rt2) in icmp_route_lookup()
547 rt2 = __ip_route_output_key(net, &fl4_dec); in icmp_route_lookup()
548 if (IS_ERR(rt2)) in icmp_route_lookup()
549 err = PTR_ERR(rt2); in icmp_route_lookup()
567 rt2 = __ip_route_output_key(net, &fl4_2); in icmp_route_lookup()
568 if (IS_ERR(rt2)) { in icmp_route_lookup()
569 err = PTR_ERR(rt2); in icmp_route_lookup()
575 dscp, rt2->dst.dev) ? -EINVAL : 0; in icmp_route_lookup()
[all …]
H A Dip_options.c597 struct rtable *rt2; in ip_options_rcv_srr() local
625 rt2 = skb_rtable(skb); in ip_options_rcv_srr()
626 if (err || (rt2->rt_type != RTN_UNICAST && rt2->rt_type != RTN_LOCAL)) { in ip_options_rcv_srr()
632 if (rt2->rt_type != RTN_LOCAL) in ip_options_rcv_srr()
/linux/net/mctp/test/
H A Droute-test.c1200 struct mctp_test_route *rt1, *rt2; in mctp_test_route_gw_lookup() local
1211 rt2 = mctp_test_create_route_gw(&init_net, dev->mdev->net, 10, 9, 0); in mctp_test_route_gw_lookup()
1212 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt2); in mctp_test_route_gw_lookup()
1223 mctp_test_route_destroy(test, rt2); in mctp_test_route_gw_lookup()
1230 struct mctp_test_route *rt1, *rt2; in mctp_test_route_gw_loop() local
1241 rt2 = mctp_test_create_route_gw(&init_net, dev->mdev->net, 10, 9, 0); in mctp_test_route_gw_loop()
1242 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, rt2); in mctp_test_route_gw_loop()
1248 mctp_test_route_destroy(test, rt2); in mctp_test_route_gw_loop()
1287 struct mctp_test_route *rt1, *rt2, *rt3; in mctp_test_route_gw_mtu() local
1304 rt2 = mctp_test_create_route_gw(&init_net, netid, 10, 9, mtus->gw); in mctp_test_route_gw_mtu()
[all …]
/linux/net/mpls/
H A Daf_mpls.c2589 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2619 rt2 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2620 if (IS_ERR(rt2)) in resize_platform_label_table()
2623 rt2->rt_nh->nh_dev = lo; in resize_platform_label_table()
2624 netdev_hold(lo, &rt2->rt_nh->nh_dev_tracker, GFP_KERNEL); in resize_platform_label_table()
2625 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2626 rt2->rt_payload_type = MPT_IPV6; in resize_platform_label_table()
2627 rt2->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; in resize_platform_label_table()
2628 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2629 rt2 in resize_platform_label_table()
[all...]
/linux/net/netfilter/
H A Dnf_conntrack_h323_main.c681 struct rtable *rt1, *rt2; in callforward_do_filter() local
690 if (!nf_ip_route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
693 rt_nexthop(rt2, fl2.daddr) && in callforward_do_filter()
694 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter()
696 dst_release(&rt2->dst); in callforward_do_filter()
704 struct rt6_info *rt1, *rt2; in callforward_do_filter() local
714 if (!nf_ip6_route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
717 rt6_nexthop(rt2, &fl2.daddr)) && in callforward_do_filter()
718 rt1->dst.dev == rt2->dst.dev) in callforward_do_filter()
720 dst_release(&rt2->dst); in callforward_do_filter()
/linux/arch/arm/probes/kprobes/
H 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/lib/crc/mips/
H A Dcrc32.h17 _ASM_MACRO_3R(OP, rt, rs, rt2, \
/linux/net/mctp/
H A Droute.c885 struct mctp_route *rt2) in mctp_dev_saddr()
888 return mctp_route_netid(rt1) == mctp_route_netid(rt2) && in mctp_dev_saddr()
889 rt1->min == rt2->min && in mctp_dev_saddr()
890 rt1->max == rt2->max; in mctp_dev_saddr()
877 mctp_rt_compare_exact(struct mctp_route * rt1,struct mctp_route * rt2) mctp_rt_compare_exact() argument
/linux/arch/arm64/kernel/
H A Dtraps.c754 int rt2 = (esr & ESR_ELx_CP15_64_ISS_RT2_MASK) >> ESR_ELx_CP15_64_ISS_RT2_SHIFT; in compat_cntvct_read_handler() local
758 pt_regs_write_reg(regs, rt2, upper_32_bits(val)); in compat_cntvct_read_handler()