Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 51 of 51) sorted by relevance

/linux-4.4.14/net/batman-adv/
Dgateway_common.c162 struct batadv_tvlv_gateway_data gw; in batadv_gw_tvlv_container_update() local
174 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update()
175 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_tvlv_container_update()
176 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update()
177 gw.bandwidth_up = htonl(up); in batadv_gw_tvlv_container_update()
179 &gw, sizeof(gw)); in batadv_gw_tvlv_container_update()
194 down_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_bandwidth_set()
195 up_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_bandwidth_set()
219 atomic_set(&bat_priv->gw.bandwidth_down, down_new); in batadv_gw_bandwidth_set()
220 atomic_set(&bat_priv->gw.bandwidth_up, up_new); in batadv_gw_bandwidth_set()
Dgateway_client.c76 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node()
119 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
124 curr_gw_node = rcu_dereference_protected(bat_priv->gw.curr_gw, 1); in batadv_gw_select()
125 rcu_assign_pointer(bat_priv->gw.curr_gw, new_gw_node); in batadv_gw_select()
130 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
146 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
162 hlist_for_each_entry_rcu(gw_node, &bat_priv->gw.list, list) { in batadv_gw_get_best_gw_node()
274 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
441 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_add()
442 hlist_add_head_rcu(&gw_node->list, &bat_priv->gw.list); in batadv_gw_node_add()
[all …]
Dmain.c135 spin_lock_init(&bat_priv->gw.list_lock); in batadv_mesh_init()
145 INIT_HLIST_HEAD(&bat_priv->gw.list); in batadv_mesh_init()
184 atomic_set(&bat_priv->gw.reselect, 0); in batadv_mesh_init()
Dsysfs.c462 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_show_gw_bwidth()
463 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_show_gw_bwidth()
Dsoft-interface.c792 atomic_set(&bat_priv->gw.bandwidth_down, 100); in batadv_softif_init_late()
793 atomic_set(&bat_priv->gw.bandwidth_up, 20); in batadv_softif_init_late()
Dtypes.h829 struct batadv_priv_gw gw; member
/linux-4.4.14/net/can/
DMakefile14 obj-$(CONFIG_CAN_GW) += can-gw.o
15 can-gw-y := gw.o
/linux-4.4.14/net/ipv6/netfilter/
Dnf_dup_ipv6.c23 const struct in6_addr *gw, int oif) in nf_dup_ipv6_route() argument
33 fl6.daddr = *gw; in nf_dup_ipv6_route()
50 const struct in6_addr *gw, int oif) in nf_dup_ipv6() argument
69 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
Dnft_dup_ipv6.c28 struct in6_addr *gw = (struct in6_addr *)&regs->data[priv->sreg_addr]; in nft_dup_ipv6_eval() local
31 nf_dup_ipv6(pkt->net, pkt->skb, pkt->hook, gw, oif); in nft_dup_ipv6_eval()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_dup_ipv4.c27 const struct in_addr *gw, int oif) in nf_dup_ipv4_route() argument
37 fl4.daddr = gw->s_addr; in nf_dup_ipv4_route()
54 const struct in_addr *gw, int oif) in nf_dup_ipv4() argument
93 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
Dnft_dup_ipv4.c28 struct in_addr gw = { in nft_dup_ipv4_eval() local
33 nf_dup_ipv4(pkt->net, pkt->skb, pkt->hook, &gw, oif); in nft_dup_ipv4_eval()
/linux-4.4.14/arch/x86/kvm/
Dpaging_tmpl.h493 struct guest_walker *gw, int level) in FNAME()
496 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
506 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
507 curr_pte = gw->prefetch_ptes[index]; in FNAME()
512 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
515 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
519 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
552 struct guest_walker *gw, in FNAME()
558 unsigned direct_access, access = gw->pt_access; in FNAME()
561 direct_access = gw->pte_access; in FNAME()
[all …]
/linux-4.4.14/drivers/fmc/
Dfmc-fakedev.c97 char *gw) in ff_reprogram() argument
102 if (!gw) { in ff_reprogram()
109 dev_info(&fmc->dev, "reprogramming with %s\n", gw); in ff_reprogram()
110 ret = request_firmware(&fw, gw, &fmc->dev); in ff_reprogram()
113 gw, ret); in ff_reprogram()
Dfmc-sdb.c130 int fmc_reprogram(struct fmc_device *fmc, struct fmc_driver *d, char *gw, in fmc_reprogram() argument
135 ret = fmc->op->reprogram(fmc, d, gw); in fmc_reprogram()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter.c606 struct lnet_peer *gw = rcd->rcd_gateway; in lnet_parse_rc_info() local
609 if (!gw->lp_alive) in lnet_parse_rc_info()
618 libcfs_nid2str(gw->lp_nid), info->pi_magic); in lnet_parse_rc_info()
619 gw->lp_ping_feats = LNET_PING_FEAT_INVAL; in lnet_parse_rc_info()
623 gw->lp_ping_feats = info->pi_features; in lnet_parse_rc_info()
624 if ((gw->lp_ping_feats & LNET_PING_FEAT_MASK) == 0) { in lnet_parse_rc_info()
626 libcfs_nid2str(gw->lp_nid), gw->lp_ping_feats); in lnet_parse_rc_info()
630 if ((gw->lp_ping_feats & LNET_PING_FEAT_NI_STATUS) == 0) in lnet_parse_rc_info()
633 list_for_each_entry(rtr, &gw->lp_routes, lr_gwlist) { in lnet_parse_rc_info()
645 libcfs_nid2str(gw->lp_nid)); in lnet_parse_rc_info()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dimx6dl-gw54xx.dts18 compatible = "gw,imx6dl-gw54xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw51xx.dts18 compatible = "gw,imx6dl-gw51xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw52xx.dts18 compatible = "gw,imx6dl-gw52xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw53xx.dts18 compatible = "gw,imx6dl-gw53xx", "gw,ventana", "fsl,imx6dl";
Dimx6dl-gw552x.dts19 compatible = "gw,imx6dl-gw552x", "gw,ventana", "fsl,imx6dl";
Dimx6q-gw51xx.dts18 compatible = "gw,imx6q-gw51xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw552x.dts19 compatible = "gw,imx6q-gw552x", "gw,ventana", "fsl,imx6q";
Dimx6q-gw53xx.dts18 compatible = "gw,imx6q-gw53xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw52xx.dts18 compatible = "gw,imx6q-gw52xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw54xx.dts18 compatible = "gw,imx6q-gw54xx", "gw,ventana", "fsl,imx6q";
Dimx6q-gw551x.dts54 compatible = "gw,imx6q-gw551x", "gw,ventana", "fsl,imx6q";
Dimx6dl-gw551x.dts54 compatible = "gw,imx6dl-gw551x", "gw,ventana", "fsl,imx6dl";
Dimx6q-gw5400-a.dts18 compatible = "gw,imx6q-gw5400-a", "gw,ventana", "fsl,imx6q";
/linux-4.4.14/net/netfilter/
Dxt_TEE.c36 nf_dup_ipv4(par->net, skb, par->hooknum, &info->gw.in, oif); in tee_tg4()
48 nf_dup_ipv6(par->net, skb, par->hooknum, &info->gw.in6, oif); in tee_tg6()
87 if (memcmp(&info->gw, &tee_zero_address, in tee_tg_check()
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_TEE.h5 union nf_inet_addr gw; member
/linux-4.4.14/include/net/netfilter/ipv6/
Dnf_dup_ipv6.h5 const struct in6_addr *gw, int oif);
/linux-4.4.14/include/net/netfilter/ipv4/
Dnf_dup_ipv4.h5 const struct in_addr *gw, int oif);
/linux-4.4.14/include/uapi/linux/can/
DKbuild4 header-y += gw.h
/linux-4.4.14/arch/sparc/kernel/
Dsetup_64.c626 u32 cl, sv, gw; in setup_arch() local
630 gw = prom_getintdefault (chosen, "gateway-ip", 0); in setup_arch()
634 if (gw) in setup_arch()
635 ic_gateway = gw; in setup_arch()
/linux-4.4.14/include/linux/
Dfmc.h135 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw);
147 extern int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw,
/linux-4.4.14/Documentation/networking/
Dpolicy-routing.txt78 HOWTO: iproute add PREFIX [ tos TOS ] [ gw GW ] [ dev DEV ]
89 [ dev INPUTDEV] [ pref PREFERENCE ] route [ gw GATEWAY ]
Darcnet.txt409 route add default gw freedom
/linux-4.4.14/net/decnet/
Ddn_table.c251 __le16 gw; in dn_fib_nh_match() local
261 gw = gw_attr ? nla_get_le16(gw_attr) : 0; in dn_fib_nh_match()
263 if (gw && gw != nh->nh_gw) in dn_fib_nh_match()
/linux-4.4.14/Documentation/fmc/
DAPI.txt20 int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw,
Dcarrier.txt137 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw);
/linux-4.4.14/include/video/
Dpm3fb.h953 #define PM3DownloadGlyphwidth_GlyphWidth(gw) ((gw) & 0xffff) argument
/linux-4.4.14/net/ipv4/
Droute.c621 static void update_or_create_fnhe(struct fib_nh *nh, __be32 daddr, __be32 gw, in update_or_create_fnhe() argument
652 if (gw) in update_or_create_fnhe()
653 fnhe->fnhe_gw = gw; in update_or_create_fnhe()
678 fnhe->fnhe_gw = gw; in update_or_create_fnhe()
883 __be32 gw = rt_nexthop(rt, ip_hdr(skb)->daddr); in ip_rt_send_redirect() local
885 icmp_send(skb, ICMP_REDIRECT, ICMP_REDIR_HOST, gw); in ip_rt_send_redirect()
893 &ip_hdr(skb)->daddr, &gw); in ip_rt_send_redirect()
Dfib_semantics.c334 int ip_fib_check_default(__be32 gw, struct net_device *dev) in ip_fib_check_default() argument
346 nh->nh_gw == gw && in ip_fib_check_default()
/linux-4.4.14/net/bluetooth/
D6lowpan.c39 struct in6_addr gw; member
187 nexthop = &lowpan_cb(skb)->gw; in peer_lookup_dst()
198 memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr)); in peer_lookup_dst()
/linux-4.4.14/include/net/
Dip_fib.h320 int ip_fib_check_default(__be32 gw, struct net_device *dev);
/linux-4.4.14/Documentation/filesystems/nfs/
Dnfsroot.txt81 ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>:
116 <gw-ip> IP address of a gateway if the server is on a different subnet.
/linux-4.4.14/Documentation/devicetree/bindings/
Dvendor-prefixes.txt99 gw Gateworks Corporation
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h660 void lnet_router_ni_update_locked(lnet_peer_t *gw, __u32 net);
/linux-4.4.14/Documentation/isdn/
DREADME.HiSax571 /sbin/route add default gw ${REMOTE_IP}
632 /sbin/route add default gw ${REMOTE_IP}
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt1073 UML# route add default gw host ip
1081 UML# route add default gw 192.168.0.4
1811 UML# route add -host 192.168.0.250 gw 192.168.0.251
3955 route add default gw gateway IP
/linux-4.4.14/
DMAINTAINERS2607 F: include/uapi/linux/can/gw.h