Searched refs:gateway (Results 1 – 14 of 14) sorted by relevance
/net/batman-adv/ |
D | gateway_common.c | 222 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 …]
|
D | gateway_client.c | 331 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_add() argument 335 if (gateway->bandwidth_down == 0) in batadv_gw_node_add() 346 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add() 347 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add() 357 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add() 358 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add() 359 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add() 360 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add() 403 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_update() argument 409 batadv_gw_node_add(bat_priv, orig_node, gateway); in batadv_gw_node_update() [all …]
|
D | gateway_client.h | 39 struct batadv_tvlv_gateway_data *gateway);
|
/net/appletalk/ |
D | atalk_proc.c | 135 ntohs(rt->gateway.s_net), rt->gateway.s_node, in atalk_seq_route_show() 142 ntohs(rt->gateway.s_net), rt->gateway.s_node, in atalk_seq_route_show()
|
D | ddp.c | 492 atrtr_default.gateway.s_net = htons(0); in atrtr_set_default() 493 atrtr_default.gateway.s_node = 0; in atrtr_set_default() 574 rt->gateway = ga->sat_addr; in atrtr_create() 1355 ta.s_net = rt->gateway.s_net; in atalk_route_packet() 1356 ta.s_node = rt->gateway.s_node; in atalk_route_packet() 1714 gsat.sat_addr = rt->gateway; in atalk_sendmsg()
|
/net/decnet/ |
D | dn_route.c | 973 __le16 gateway = 0; in dn_route_output_slow() local 1127 gateway = ((struct dn_neigh *)neigh)->addr; in dn_route_output_slow() 1128 if (gateway == 0) in dn_route_output_slow() 1129 gateway = fld.daddr; in dn_route_output_slow() 1131 fld.saddr = dnet_select_source(dev_out, gateway, in dn_route_output_slow() 1178 gateway = DN_FIB_RES_GW(res); in dn_route_output_slow() 1197 rt->rt_gateway = gateway ? gateway : fld.daddr; in dn_route_output_slow() 1316 __le16 gateway = 0; in dn_route_input_slow() local 1374 gateway = DN_FIB_RES_GW(res); in dn_route_input_slow() 1385 gateway = fld.daddr; in dn_route_input_slow() [all …]
|
/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 174 ntohl(ich->un.gateway) >> 24); in dump_ipv4_packet() 178 nf_log_buf_add(m, "GATEWAY=%pI4 ", &ich->un.gateway); in dump_ipv4_packet()
|
/net/ipv4/ |
D | icmp.c | 694 icmp_param->data.icmph.un.gateway = info; in icmp_send() 838 info = ntohl(icmph->un.gateway) >> 24; in icmp_unreach() 900 icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway); in icmp_redirect()
|
D | cipso_ipv4.c | 1725 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway) in cipso_v4_error() argument 1730 if (gateway) in cipso_v4_error()
|
D | route.c | 724 __be32 new_gw = icmp_hdr(skb)->un.gateway; in __ip_do_redirect()
|
/net/ipv6/ |
D | route.c | 1466 struct in6_addr gateway; member 1500 if (!ipv6_addr_equal(&rdfl->gateway, &rt->rt6i_gateway)) in __ip6_route_redirect() 1529 const struct in6_addr *gateway) in ip6_route_redirect() argument 1535 rdfl.gateway = *gateway; in ip6_route_redirect() 2680 struct in6_addr *gateway = (struct in6_addr *)arg; in fib6_clean_tohost() local 2684 ipv6_addr_equal(gateway, &rt->rt6i_gateway)) { in fib6_clean_tohost() 2690 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway) in rt6_clean_tohost() argument 2692 fib6_clean_all(net, fib6_clean_tohost, gateway); in rt6_clean_tohost()
|
/net/netlabel/ |
D | netlabel_kapi.c | 1400 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway) in netlbl_skbuff_err() argument 1405 cipso_v4_error(skb, error, gateway); in netlbl_skbuff_err()
|
/net/ |
D | Kconfig | 139 the gateway to the Internet for a local network of machines without
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 1665 __be32 info = ic->un.gateway; in ip_vs_in_icmp()
|