Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 13 of 13) sorted by relevance

/net/batman-adv/
Dgateway_common.c222 struct batadv_tvlv_gateway_data gateway, *gateway_ptr; in batadv_gw_tvlv_ogm_handler_v1() local
228 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
229 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
230 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
233 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1()
234 gateway.bandwidth_up = gateway_ptr->bandwidth_up; in batadv_gw_tvlv_ogm_handler_v1()
235 if (gateway.bandwidth_down == 0 || in batadv_gw_tvlv_ogm_handler_v1()
236 gateway.bandwidth_up == 0) { in batadv_gw_tvlv_ogm_handler_v1()
237 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
238 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
[all …]
Dgateway_client.c326 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_add() argument
332 if (gateway->bandwidth_down == 0) in batadv_gw_node_add()
343 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
344 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
353 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
354 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
355 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
356 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
400 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_update() argument
407 batadv_gw_node_add(bat_priv, orig_node, gateway); in batadv_gw_node_update()
[all …]
Dgateway_client.h27 struct batadv_tvlv_gateway_data *gateway);
/net/appletalk/
Datalk_proc.c132 ntohs(rt->gateway.s_net), rt->gateway.s_node, in atalk_seq_route_show()
139 ntohs(rt->gateway.s_net), rt->gateway.s_node, in atalk_seq_route_show()
Dddp.c487 atrtr_default.gateway.s_net = htons(0); in atrtr_set_default()
488 atrtr_default.gateway.s_node = 0; in atrtr_set_default()
569 rt->gateway = ga->sat_addr; in atrtr_create()
1361 ta.s_net = rt->gateway.s_net; in atalk_route_packet()
1362 ta.s_node = rt->gateway.s_node; in atalk_route_packet()
1730 gsat.sat_addr = rt->gateway; in atalk_sendmsg()
/net/ipv4/
Dicmp.c732 icmp_param.data.icmph.un.gateway = info; in __icmp_send()
921 info = ntohl(icmph->un.gateway) >> 24; in icmp_unreach()
983 icmp_socket_deliver(skb, ntohl(icmp_hdr(skb)->un.gateway)); in icmp_redirect()
Dcipso_ipv4.c1719 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway) in cipso_v4_error() argument
1742 if (gateway) in cipso_v4_error()
Droute.c747 __be32 new_gw = icmp_hdr(skb)->un.gateway; in __ip_do_redirect()
/net/ipv6/
Droute.c2040 const struct in6_addr *gateway) in fib6_nh_exceptions_clean_tohost() argument
2060 ipv6_addr_equal(gateway, in fib6_nh_exceptions_clean_tohost()
3038 struct in6_addr gateway; member
3053 .gw = &rdfl->gateway, in __ip6_route_redirect()
3094 if (ip6_redirect_nh_match(&res, fl6, &rdfl->gateway, in __ip6_route_redirect()
3133 const struct in6_addr *gateway) in ip6_route_redirect() argument
3139 rdfl.gateway = *gateway; in ip6_route_redirect()
4623 struct in6_addr *gateway = (struct in6_addr *)arg; in fib6_clean_tohost() local
4632 nh->fib_nh_gw_family && ipv6_addr_equal(gateway, &nh->fib_nh_gw6)) in fib6_clean_tohost()
4639 fib6_nh_exceptions_clean_tohost(nh, gateway); in fib6_clean_tohost()
[all …]
/net/netlabel/
Dnetlabel_kapi.c1396 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) in netlbl_skbuff_err() argument
1401 cipso_v4_error(skb, error, gateway); in netlbl_skbuff_err()
/net/netfilter/
Dnf_log_syslog.c425 ntohl(ich->un.gateway) >> 24); in dump_ipv4_packet()
429 nf_log_buf_add(m, "GATEWAY=%pI4 ", &ich->un.gateway); in dump_ipv4_packet()
/net/
DKconfig143 the gateway to the Internet for a local network of machines without
/net/netfilter/ipvs/
Dip_vs_core.c1782 __be32 info = ic->un.gateway; in ip_vs_in_icmp()