Searched refs:gw (Results 1 - 9 of 9) sorted by relevance
/net/can/ |
H A D | Makefile | 14 obj-$(CONFIG_CAN_GW) += can-gw.o 15 can-gw-y := gw.o
|
H A D | gw.c | 2 * gw.c - CAN frame Gateway/Router/Bridge with netlink interface 57 #include <linux/can/gw.h> 63 #define CAN_GW_NAME "can-gw" 438 gwj, "gw");
|
/net/batman-adv/ |
H A D | gateway_client.c | 51 gw_node = rcu_dereference(bat_priv->gw.curr_gw); 94 spin_lock_bh(&bat_priv->gw.list_lock); 99 curr_gw_node = rcu_dereference_protected(bat_priv->gw.curr_gw, 1); 100 rcu_assign_pointer(bat_priv->gw.curr_gw, new_gw_node); 105 spin_unlock_bh(&bat_priv->gw.list_lock); 110 atomic_set(&bat_priv->gw.reselect, 1); 129 hlist_for_each_entry_rcu(gw_node, &bat_priv->gw.list, list) { 209 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) 328 spin_lock_bh(&bat_priv->gw.list_lock); 329 hlist_add_head_rcu(&gw_node->list, &bat_priv->gw [all...] |
H A D | main.c | 107 spin_lock_init(&bat_priv->gw.list_lock); 113 INIT_HLIST_HEAD(&bat_priv->gw.list); 145 atomic_set(&bat_priv->gw.reselect, 0);
|
H A D | types.h | 187 * struct batadv_gw_node - structure for orig nodes announcing gw capabilities 530 * @gw: gateway data 582 struct batadv_priv_gw gw; member in struct:batadv_priv 630 * @lasttime: last time we heard of this backbone gw 658 * @batadv_bla_backbone_gw: pointer to backbone gw claiming this client
|
/net/netfilter/ |
H A D | xt_TEE.c | 70 fl4.daddr = info->gw.ip; 152 fl6.daddr = info->gw.in6; 233 if (memcmp(&info->gw, &tee_zero_address,
|
/net/decnet/ |
H A D | dn_table.c | 250 __le16 gw; local 260 gw = gw_attr ? nla_get_le16(gw_attr) : 0; 262 if (gw && gw != nh->nh_gw)
|
/net/ipv4/ |
H A D | route.c | 20 * Alan Cox : Added BSD route gw semantics 599 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, argument 628 if (gw) 629 fnhe->fnhe_gw = gw; 646 fnhe->fnhe_gw = gw; 834 __be32 gw = rt_nexthop(rt, ip_hdr(skb)->daddr); local 836 icmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, gw); 844 &ip_hdr(skb)->daddr, &gw);
|
H A D | fib_semantics.c | 330 int ip_fib_check_default(__be32 gw, struct net_device *dev) argument 342 nh->nh_gw == gw && 581 * Every prefix refers to a set of "nexthop"s (gw, oif), 582 * where gw must have narrower scope. This recursion stops 583 * when gw has LOCAL scope or if "nexthop" is declared ONLINK, 584 * which means that gw is forced to be on link. 593 * {universe prefix} -> (gw, oif) [scope link] 595 * |-> {link prefix} -> (gw, oif) [scope local]
|
Completed in 1613 milliseconds