Home
last modified time | relevance | path

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

/linux-4.4.14/net/batman-adv/
Dgateway_common.c239 struct batadv_tvlv_gateway_data gateway, *gateway_ptr; in batadv_gw_tvlv_ogm_handler_v1() local
245 (tvlv_value_len < sizeof(gateway))) { in batadv_gw_tvlv_ogm_handler_v1()
246 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
247 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
250 gateway.bandwidth_down = gateway_ptr->bandwidth_down; in batadv_gw_tvlv_ogm_handler_v1()
251 gateway.bandwidth_up = gateway_ptr->bandwidth_up; in batadv_gw_tvlv_ogm_handler_v1()
252 if ((gateway.bandwidth_down == 0) || in batadv_gw_tvlv_ogm_handler_v1()
253 (gateway.bandwidth_up == 0)) { in batadv_gw_tvlv_ogm_handler_v1()
254 gateway.bandwidth_down = 0; in batadv_gw_tvlv_ogm_handler_v1()
255 gateway.bandwidth_up = 0; in batadv_gw_tvlv_ogm_handler_v1()
[all …]
Dgateway_client.c419 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_add() argument
423 if (gateway->bandwidth_down == 0) in batadv_gw_node_add()
437 gw_node->bandwidth_down = ntohl(gateway->bandwidth_down); in batadv_gw_node_add()
438 gw_node->bandwidth_up = ntohl(gateway->bandwidth_up); in batadv_gw_node_add()
448 ntohl(gateway->bandwidth_down) / 10, in batadv_gw_node_add()
449 ntohl(gateway->bandwidth_down) % 10, in batadv_gw_node_add()
450 ntohl(gateway->bandwidth_up) / 10, in batadv_gw_node_add()
451 ntohl(gateway->bandwidth_up) % 10); in batadv_gw_node_add()
492 struct batadv_tvlv_gateway_data *gateway) in batadv_gw_node_update() argument
498 batadv_gw_node_add(bat_priv, orig_node, gateway); in batadv_gw_node_update()
[all …]
Dgateway_client.h38 struct batadv_tvlv_gateway_data *gateway);
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter.c292 lnet_add_route(__u32 net, unsigned int hops, lnet_nid_t gateway, in lnet_add_route() argument
304 libcfs_net2str(net), hops, priority, libcfs_nid2str(gateway)); in lnet_add_route()
306 if (gateway == LNET_NID_ANY || in lnet_add_route()
307 LNET_NETTYP(LNET_NIDNET(gateway)) == LOLND || in lnet_add_route()
310 LNET_NIDNET(gateway) == net || in lnet_add_route()
322 libcfs_net2str(net), hops, libcfs_nid2str(gateway)); in lnet_add_route()
338 rc = lnet_nid2peer_locked(&route->lr_gateway, gateway, LNET_LOCK_EX); in lnet_add_route()
349 libcfs_nid2str(gateway)); in lnet_add_route()
374 LASSERT(route2->lr_gateway->lp_nid != gateway); in lnet_add_route()
386 (ni->ni_lnd->lnd_notify)(ni, gateway, 1); in lnet_add_route()
[all …]
/linux-4.4.14/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.c492 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()
/linux-4.4.14/security/selinux/include/
Dnetlabel.h43 void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway);
76 int gateway) in selinux_netlbl_err() argument
/linux-4.4.14/net/decnet/
Ddn_route.c979 __le16 gateway = 0; in dn_route_output_slow() local
1133 gateway = ((struct dn_neigh *)neigh)->addr; in dn_route_output_slow()
1134 if (gateway == 0) in dn_route_output_slow()
1135 gateway = fld.daddr; in dn_route_output_slow()
1137 fld.saddr = dnet_select_source(dev_out, gateway, in dn_route_output_slow()
1184 gateway = DN_FIB_RES_GW(res); in dn_route_output_slow()
1203 rt->rt_gateway = gateway ? gateway : fld.daddr; in dn_route_output_slow()
1322 __le16 gateway = 0; in dn_route_input_slow() local
1380 gateway = DN_FIB_RES_GW(res); in dn_route_input_slow()
1391 gateway = fld.daddr; in dn_route_input_slow()
[all …]
/linux-4.4.14/include/net/
Dcipso_ipv4.h206 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway);
229 u32 gateway) in cipso_v4_error() argument
Dnetlabel.h430 void netlbl_skbuff_err(struct sk_buff *skb, int error, int gateway);
581 int gateway) in netlbl_skbuff_err() argument
Dip6_route.h138 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway);
/linux-4.4.14/include/uapi/linux/
Dicmp.h77 __be32 gateway; member
/linux-4.4.14/Documentation/networking/
Dpolicy-routing.txt6 with attached information: gateway, device etc.
32 all gateway routes are put there.
84 tables. Every rule is supplied with its own gateway, device
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.
Dskfp.txt105 and gateway configuration in at least one of the
Dnetconsole.txt185 default gateway (you may use /sbin/route -n to find it out) as the
Dvrf.txt353 gateway 10.0.0.254
Dbonding.txt876 in environments where a layer3 gateway device is
2253 acting as a gateway. For our discussion, the important point is that
2264 traffic is destined for the "gateway" itself, not some other network
2265 beyond the gateway.
2281 host acting as a gateway. For our discussion, the important point is
2287 (the gateway itself, i.e., the router), regardless of its final
2467 external network; this host then additionally acts as a gateway.
Dswitchdev.txt364 The FIB entry's nexthop list contains the nexthop tuple (gateway, dev), but for
Dip-sysctl.txt1024 listed in default gateway list.
/linux-4.4.14/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,nsp.txt5 and management applications as well as residential router/gateway
/linux-4.4.14/security/selinux/
Dnetlabel.c154 void selinux_netlbl_err(struct sk_buff *skb, int error, int gateway) in selinux_netlbl_err() argument
156 netlbl_skbuff_err(skb, error, gateway); in selinux_netlbl_err()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-ibft23 Usually this contains the IP address, MAC, and gateway of the NIC.
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'.
/linux-4.4.14/arch/arc/plat-tb10x/
DKconfig28 Support for platforms based on the TB10x home media gateway SOC by
/linux-4.4.14/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-4.4.14/drivers/firmware/
Discsi_ibft.c129 char gateway[16]; member
326 str += sprintf_ipaddr(str, nic->gateway); in ibft_attr_show_nic()
471 if (address_not_null(nic->gateway)) in ibft_check_nic_for()
/linux-4.4.14/include/linux/
Datalk.h11 struct atalk_addr gateway; member
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_iscsi.c598 struct be_cmd_get_def_gateway_resp gateway; in be2iscsi_iface_get_param() local
621 memset(&gateway, 0, sizeof(gateway)); in be2iscsi_iface_get_param()
622 len = mgmt_get_gateway(phba, BE2_IPV4, &gateway); in be2iscsi_iface_get_param()
624 len = sprintf(buf, "%pI4\n", &gateway.ip_addr.addr); in be2iscsi_iface_get_param()
Dbe_mgmt.h300 struct be_cmd_get_def_gateway_resp *gateway);
Dbe_mgmt.c1149 struct be_cmd_get_def_gateway_resp *gateway) in mgmt_get_gateway() argument
1157 sizeof(*gateway)); in mgmt_get_gateway()
1164 return mgmt_exec_nonemb_cmd(phba, &nonemb_cmd, gateway, in mgmt_get_gateway()
1165 sizeof(*gateway)); in mgmt_get_gateway()
/linux-4.4.14/net/ipv4/
Dicmp.c692 icmp_param->data.icmph.un.gateway = info; in icmp_send()
834 info = ntohl(icmph->un.gateway) >> 24; in icmp_unreach()
889 icmp_socket_deliver(skb, icmp_hdr(skb)->un.gateway); in icmp_redirect()
Dcipso_ipv4.c1791 void cipso_v4_error(struct sk_buff *skb, int error, u32 gateway) in cipso_v4_error() argument
1796 if (gateway) in cipso_v4_error()
Droute.c708 __be32 new_gw = icmp_hdr(skb)->un.gateway; in __ip_do_redirect()
/linux-4.4.14/net/netlabel/
Dnetlabel_kapi.c1097 void netlbl_skbuff_err(struct sk_buff *skb, int error, int gateway) in netlbl_skbuff_err() argument
1100 cipso_v4_error(skb, error, gateway); in netlbl_skbuff_err()
/linux-4.4.14/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-4.4.14/Documentation/sound/alsa/
DHD-Audio-Models.txt195 gateway-m4 Gateway laptops with EAPD control
196 gateway-m4-2 Gateway laptops with EAPD control
/linux-4.4.14/net/ipv6/
Droute.c1419 struct in6_addr gateway; member
1453 if (!ipv6_addr_equal(&rdfl->gateway, &rt->rt6i_gateway)) in __ip6_route_redirect()
1481 const struct in6_addr *gateway) in ip6_route_redirect() argument
1487 rdfl.gateway = *gateway; in ip6_route_redirect()
2585 struct in6_addr *gateway = (struct in6_addr *)arg; in fib6_clean_tohost() local
2589 ipv6_addr_equal(gateway, &rt->rt6i_gateway)) { in fib6_clean_tohost()
2595 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway) in rt6_clean_tohost() argument
2597 fib6_clean_all(net, fib6_clean_tohost, gateway); in rt6_clean_tohost()
/linux-4.4.14/arch/arm/mach-bcm/
DKconfig46 and management applications as well as residential router/gateway
/linux-4.4.14/drivers/net/appletalk/
DKconfig86 you want your Linux box to act as an Internet gateway for a zoo of
/linux-4.4.14/Documentation/parisc/
Dregisters45 SR2 holds space of linux gateway page
/linux-4.4.14/drivers/scsi/
Discsi_boot_sysfs.c171 iscsi_boot_rd_attr(eth_gateway, gateway, ISCSI_BOOT_ETH_GATEWAY);
Dscsi_transport_iscsi.c316 iscsi_iface_net_attr(ipv4_iface, gateway, ISCSI_NET_PARAM_IPV4_GW);
/linux-4.4.14/Documentation/cris/
DREADME136 Default gateway is 10.13.9.1
/linux-4.4.14/Documentation/arm/
DIXP4xx60 Simple one page summary of building a gateway using an IXP425 and Linux
/linux-4.4.14/include/acpi/
Dactbl2.h623 u8 gateway[16]; member
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h445 lnet_nid_t *gateway, __u32 *alive, __u32 *priority);
/linux-4.4.14/arch/parisc/mm/
Dinit.c572 #error KERNEL_MAP_START is in gateway reserved region
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_def.h474 uint8_t gateway[IP_ADDR_LEN]; member
Dql4_mbx.c479 memcpy(ha->ip_config.gateway, init_fw_cb->ipv4_gw_addr, in qla4xxx_update_local_ip()
480 min(sizeof(ha->ip_config.gateway), in qla4xxx_update_local_ip()
Dql4_os.c1236 len = sprintf(buf, "%pI4\n", &ha->ip_config.gateway); in qla4xxx_get_iface_param()
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfsroot.txt116 <gw-ip> IP address of a gateway if the server is on a different subnet.
/linux-4.4.14/net/
DKconfig130 the gateway to the Internet for a local network of machines without
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_core.c1497 __be32 info = ic->un.gateway; in ip_vs_in_icmp()
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt890 machines on it is acting as a gateway.
974 only acting as a gateway. It will respond to pings sent to it
3955 route add default gw gateway IP
3960 The gateway IP can be any machine on the local net that knows how to
3962 work's gateway.
/linux-4.4.14/
DCREDITS3596 D: Maintainer of c.o.l.* Usenet<->mail gateway