Home
last modified time | relevance | path

Searched defs:nh (Results 1 – 25 of 25) sorted by relevance

/net/ipv4/
Dnexthop.c100 const struct nexthop *nh) in nh_notifier_single_info_init()
180 const struct nexthop *nh) in nh_notifier_grp_info_init()
192 const struct nexthop *nh) in nh_notifier_grp_info_fini()
203 const struct nexthop *nh) in nh_notifier_info_init()
214 const struct nexthop *nh) in nh_notifier_info_fini()
224 struct nexthop *nh, in call_nexthop_notifiers()
257 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local
389 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers()
425 struct nexthop *nh, in call_nexthop_notifier()
466 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group()
[all …]
Dfib_semantics.c443 struct fib_nh *nh; in ip_fib_check_default() local
620 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init()
695 struct fib_nh *nh; in fib_get_nhs() local
855 const struct fib_nh *nh, in fib_encap_match()
899 struct fib_nh *nh; in fib_nh_match() local
1049 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw()
1117 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw()
1211 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw()
1246 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh()
1346 struct fib_nh *nh; in fib_info_update_nhc_saddr() local
[all …]
Dicmp.c1191 int nh; in icmp_rcv() local
Droute.c1596 struct fib_nh *nh; in rt_set_nexthop() local
/net/nsh/
Dnsh.c16 struct nshhdr *nh; in nsh_push() local
49 struct nshhdr *nh; in nsh_pop() local
/net/ipv6/
Droute.c443 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local
464 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match()
490 struct fib6_nh *nh; member
493 static int __rt6_nh_dev_match(struct fib6_nh *nh, void *_arg) in __rt6_nh_dev_match()
503 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match()
529 struct fib6_nh *nh; in rt6_device_match() local
706 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route()
728 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match()
770 struct fib6_nh *nh; member
773 static int rt6_nh_find_match(struct fib6_nh *nh, void *_arg) in rt6_nh_find_match()
[all …]
Dexthdrs.c117 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local
922 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local
993 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local
1037 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_calipso() local
Dexthdrs_core.c118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
Ddatagram.c481 const unsigned char *nh = skb_network_header(skb); in ipv6_recv_error() local
619 unsigned char *nh = skb_network_header(skb); in ip6_datagram_recv_specific_ctl() local
Dreassembly.c136 const unsigned char *nh = skb_network_header(skb); in ip6_frag_queue() local
Dicmp.c888 int nh; in icmpv6_rcv() local
Dip6_tunnel.c802 int nh, err; in __ip6_tnl_rcv() local
Dip6_fib.c993 static int fib6_nh_drop_pcpu_from(struct fib6_nh *nh, void *_arg) in fib6_nh_drop_pcpu_from()
Daddrconf.c6577 struct fib6_nh *nh = ifa->rt->fib6_nh; in addrconf_disable_policy_idev() local
/net/openvswitch/
Dactions.c313 const struct nshhdr *nh) in push_nsh()
344 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum()
370 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr()
428 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield()
441 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl()
457 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl()
467 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl()
480 struct iphdr *nh; in set_ipv4() local
532 struct ipv6hdr *nh; in set_ipv6() local
601 struct nshhdr *nh; in set_nsh() local
[all …]
Dflow.c249 struct ipv6hdr *nh; in parse_ipv6hdr() local
486 struct nshhdr *nh; in parse_nsh() local
544 struct iphdr *nh; in key_extract_l3l4() local
Dflow_netlink.c1284 struct nshhdr *nh, size_t size) in nsh_hdr_from_nlattr()
/net/mpls/
Daf_mpls.c95 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via()
101 const struct mpls_nh *nh) in mpls_nh_via()
106 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size()
347 struct mpls_nh *nh; in mpls_forward() local
648 struct mpls_nh *nh, int oif) in find_outdev()
680 struct mpls_nh *nh, int oif) in mpls_nh_assign_dev()
771 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg() local
800 struct mpls_nh *nh, int oif, struct nlattr *via, in mpls_nh_build()
2027 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local
2169 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local
[all …]
/net/bridge/
Dbr_netfilter_ipv6.c50 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
/net/netfilter/
Dnf_nat_masquerade.c36 __be32 newsrc, nh; in nf_nat_masquerade_ipv4() local
/net/ipv6/netfilter/
Dnf_conntrack_reasm.c194 const unsigned char *nh = skb_network_header(skb); in nf_ct_frag6_queue() local
/net/xfrm/
Dxfrm_output.c83 const unsigned char *nh = skb_network_header(skb); in mip6_rthdr_offset() local
Dxfrm_policy.c3376 const unsigned char *nh = skb_network_header(skb); in decode_session6() local
/net/core/
Dfilter.c2177 struct net_device *dev, struct bpf_nh_params *nh) in bpf_out_neigh_v6()
2226 struct bpf_nh_params *nh) in __bpf_redirect_neigh_v6()
2267 struct bpf_nh_params *nh) in __bpf_redirect_neigh_v6()
2276 struct net_device *dev, struct bpf_nh_params *nh) in bpf_out_neigh_v4()
2329 struct bpf_nh_params *nh) in __bpf_redirect_neigh_v4()
2372 struct bpf_nh_params *nh) in __bpf_redirect_neigh_v4()
2380 struct bpf_nh_params *nh) in __bpf_redirect_neigh()
/net/dsa/
Ddsa2.c39 struct raw_notifier_head *nh = &dst->nh; in dsa_tree_notify() local