Home
last modified time | relevance | path

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

123

/Linux-v4.19/net/batman-adv/
Dgateway_common.c232 struct batadv_tvlv_gateway_data gateway, *gateway_ptr; in batadv_gw_tvlv_ogm_handler_v1() local
238 tvlv_value_len < sizeof(gateway)) { in batadv_gw_tvlv_ogm_handler_v1()
239 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
240 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
243 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1()
244 gateway.bandwidth_up = gateway_ptr->bandwidth_up; in batadv_gw_tvlv_ogm_handler_v1()
245 if (gateway.bandwidth_down == 0 || in batadv_gw_tvlv_ogm_handler_v1()
246 gateway.bandwidth_up == 0) { in batadv_gw_tvlv_ogm_handler_v1()
247 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
248 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
[all …]
Dgateway_client.c358 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_add() argument
364 if (gateway->bandwidth_down == 0) in batadv_gw_node_add()
375 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
376 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
384 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
385 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
386 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
387 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
431 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_update() argument
438 batadv_gw_node_add(bat_priv, orig_node, gateway); in batadv_gw_node_update()
[all …]
Dgateway_client.h40 struct batadv_tvlv_gateway_data *gateway);
/Linux-v4.19/net/appletalk/
Datalk_proc.c135 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()
Dddp.c491 atrtr_default.gateway.s_net = htons(0); in atrtr_set_default()
492 atrtr_default.gateway.s_node = 0; in atrtr_set_default()
573 rt->gateway = ga->sat_addr; in atrtr_create()
1353 ta.s_net = rt->gateway.s_net; in atalk_route_packet()
1354 ta.s_node = rt->gateway.s_node; in atalk_route_packet()
1712 gsat.sat_addr = rt->gateway; in atalk_sendmsg()
/Linux-v4.19/security/selinux/include/
Dnetlabel.h44 int gateway);
82 int gateway) in selinux_netlbl_err() argument
/Linux-v4.19/net/decnet/
Ddn_route.c971 __le16 gateway = 0; in dn_route_output_slow() local
1125 gateway = ((struct dn_neigh *)neigh)->addr; in dn_route_output_slow()
1126 if (gateway == 0) in dn_route_output_slow()
1127 gateway = fld.daddr; in dn_route_output_slow()
1129 fld.saddr = dnet_select_source(dev_out, gateway, in dn_route_output_slow()
1176 gateway = DN_FIB_RES_GW(res); in dn_route_output_slow()
1196 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 …]
/Linux-v4.19/drivers/scsi/qedi/
Dqedi_nvm_iscsi_cfg.h42 union nvm_iscsi_ipv4_addr gateway; /* 0x8 */ member
58 union nvm_iscsi_ipv6_addr gateway; /* 0x20 */ member
/Linux-v4.19/include/net/
Dcipso_ipv4.h207 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
230 u32 gateway) in cipso_v4_error() argument
Dnetlabel.h504 void netlbl_skbuff_err(struct sk_buff *skb, u16 family, int error, int gateway);
673 int gateway) in netlbl_skbuff_err() argument
/Linux-v4.19/include/uapi/linux/
Dicmp.h78 __be32 gateway; member
/Linux-v4.19/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,nsp.txt5 and management applications as well as residential router/gateway
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-net-mesh54 Defines the state of the gateway features. Can be
62 to choose a gateway if gw_mode was set to 'client'.
Dsysfs-ibft23 Usually this contains the IP address, MAC, and gateway of the NIC.
/Linux-v4.19/security/selinux/
Dnetlabel.c155 void selinux_netlbl_err(struct sk_buff *skb, u16 family, int error, int gateway) in selinux_netlbl_err() argument
157 netlbl_skbuff_err(skb, family, error, gateway); in selinux_netlbl_err()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_log_ipv4.c174 ntohl(ich->un.gateway) >> 24); in dump_ipv4_packet()
178 nf_log_buf_add(m, "GATEWAY=%pI4 ", &ich->un.gateway); in dump_ipv4_packet()
/Linux-v4.19/arch/arc/plat-tb10x/
DKconfig28 Support for platforms based on the TB10x home media gateway SOC by
/Linux-v4.19/Documentation/networking/
Darcnet.txt390 its own IP address and needs to use freedom as its default gateway. The
398 - use freedom as its Internet gateway.
415 /* and default gateway is configured by pppd */
424 to both insight and freedom, and also use freedom as a gateway to the
431 insight, but needs to use freedom as an Internet gateway. Worse, most
433 schemes that rely completely on the netmask and a 'default gateway' to
435 insight, patience WILL send through its default gateway, regardless of
441 then define gatekeeper to be the default gateway for patience.
456 both insight and patience are using freedom as their default gateway, the
465 simply set freedom as the default gateway for insight (now in DOS,
Dipddp.txt53 This software expects there to be an AppleTalk-IP gateway on the network.
/Linux-v4.19/include/linux/
Datalk.h12 struct atalk_addr gateway; member
/Linux-v4.19/drivers/firmware/
Discsi_ibft.c129 char gateway[16]; member
329 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic()
500 if (address_not_null(nic->gateway)) in ibft_check_nic_for()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_iscsi.c571 struct be_cmd_get_def_gateway_resp gateway; in beiscsi_iface_get_param() local
601 memset(&gateway, 0, sizeof(gateway)); in beiscsi_iface_get_param()
602 len = beiscsi_if_get_gw(phba, BEISCSI_IP_TYPE_V4, &gateway); in beiscsi_iface_get_param()
604 len = sprintf(buf, "%pI4\n", &gateway.ip_addr.addr); in beiscsi_iface_get_param()
/Linux-v4.19/net/ipv4/
Dicmp.c704 icmp_param.data.icmph.un.gateway = info; in icmp_send()
847 info = ntohl(icmph->un.gateway) >> 24; in icmp_unreach()
909 icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway); in icmp_redirect()
/Linux-v4.19/Documentation/netlabel/
Ddraft-ietf-cipso-ipsecurity-01.txt433 datagram. A CIPSO gateway provides IP routing services between two or more
435 networks. A CIPSO gateway may be an enhanced CIPSO host or it may just
436 provide gateway services with no end system CIPSO capabilities. A CIPSO
443 the host or network security policy. In addition, a CIPSO gateway or router
569 receiving port. Without this label the host, gateway, or router will not
601 gateway. The recipient of the ICMP message MUST be able to handle either
/Linux-v4.19/net/ipv6/
Droute.c1716 struct in6_addr *gateway) in rt6_exceptions_clean_tohost() argument
1738 ipv6_addr_equal(gateway, in rt6_exceptions_clean_tohost()
2432 struct in6_addr gateway; member
2475 if (!ipv6_addr_equal(&rdfl->gateway, &rt->fib6_nh.nh_gw)) { in __ip6_route_redirect()
2480 ipv6_addr_equal(&rdfl->gateway, in __ip6_route_redirect()
2518 const struct in6_addr *gateway) in ip6_route_redirect() argument
2524 rdfl.gateway = *gateway; in ip6_route_redirect()
3826 struct in6_addr *gateway = (struct in6_addr *)arg; in fib6_clean_tohost() local
3829 ipv6_addr_equal(gateway, &rt->fib6_nh.nh_gw)) { in fib6_clean_tohost()
3837 rt6_exceptions_clean_tohost(rt, gateway); in fib6_clean_tohost()
[all …]

123