Home
last modified time | relevance | path

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

/net/batman-adv/
Dgateway_common.c62 struct batadv_tvlv_gateway_data gateway, *gateway_ptr; in batadv_gw_tvlv_ogm_handler_v1() local
68 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
69 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
70 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
73 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1()
74 gateway.bandwidth_up = gateway_ptr->bandwidth_up; in batadv_gw_tvlv_ogm_handler_v1()
75 if (gateway.bandwidth_down == 0 || in batadv_gw_tvlv_ogm_handler_v1()
76 gateway.bandwidth_up == 0) { in batadv_gw_tvlv_ogm_handler_v1()
77 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
78 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
[all …]
Dgateway_client.c327 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_add() argument
333 if (gateway->bandwidth_down == 0) in batadv_gw_node_add()
344 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
345 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
354 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
355 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
356 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
357 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
401 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_update() argument
408 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.c727 icmp_param.data.icmph.un.gateway = info; in __icmp_send()
919 info = ntohl(icmph->un.gateway) >> 24; in icmp_unreach()
981 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.c742 __be32 new_gw = icmp_hdr(skb)->un.gateway; in __ip_do_redirect()
/net/ipv6/
Droute.c2045 const struct in6_addr *gateway) in fib6_nh_exceptions_clean_tohost() argument
2065 ipv6_addr_equal(gateway, in fib6_nh_exceptions_clean_tohost()
3040 struct in6_addr gateway; member
3055 .gw = &rdfl->gateway, in __ip6_route_redirect()
3090 if (ip6_redirect_nh_match(&res, fl6, &rdfl->gateway, in __ip6_route_redirect()
3129 const struct in6_addr *gateway) in ip6_route_redirect() argument
3135 rdfl.gateway = *gateway; in ip6_route_redirect()
4607 struct in6_addr *gateway = (struct in6_addr *)arg; in fib6_clean_tohost() local
4616 nh->fib_nh_gw_family && ipv6_addr_equal(gateway, &nh->fib_nh_gw6)) in fib6_clean_tohost()
4623 fib6_nh_exceptions_clean_tohost(nh, gateway); in fib6_clean_tohost()
[all …]
/net/netfilter/
Dnf_log_syslog.c431 ntohl(ich->un.gateway) >> 24); in dump_ipv4_packet()
435 nf_log_buf_add(m, "GATEWAY=%pI4 ", &ich->un.gateway); in dump_ipv4_packet()
/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/
DKconfig168 the gateway to the Internet for a local network of machines without
/net/netfilter/ipvs/
Dip_vs_core.c1729 __be32 info = ic->un.gateway; in ip_vs_in_icmp()