/drivers/net/team/ |
H A D | team_mode_activebackup.c | 64 u32 *ifindex = arg; local 66 *ifindex = 0; 68 *ifindex = ab_priv(team)->active_port->dev->ifindex; 74 u32 *ifindex = arg; local 78 if (port->dev->ifindex == *ifindex) {
|
H A D | team.c | 1188 int ifindex; local 1195 ifindex = nla_get_u32(info->attrs[TEAM_ATTR_TEAM_IFINDEX]); 1196 dev = dev_get_by_index(net, ifindex); 1251 NLA_PUT_U32(skb, TEAM_ATTR_TEAM_IFINDEX, team->dev->ifindex); 1423 NLA_PUT_U32(skb, TEAM_ATTR_TEAM_IFINDEX, team->dev->ifindex); 1437 NLA_PUT_U32(skb, TEAM_ATTR_PORT_IFINDEX, port->dev->ifindex);
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | l2t.h | 61 int ifindex; /* neighbor's net_device's ifindex */ member in struct:l2t_entry
|
H A D | l2t.c | 93 static inline unsigned int arp_hash(const u32 *key, int ifindex) argument 95 return jhash_2words(*key, ifindex, 0) & L2T_HASH_MASK; 98 static inline unsigned int ipv6_hash(const u32 *key, int ifindex) argument 102 return L2T_SZ_HALF + (jhash_2words(xor, ifindex, 0) & L2T_HASH_MASK); 105 static unsigned int addr_hash(const u32 *addr, int addr_len, int ifindex) argument 107 return addr_len == 4 ? arp_hash(addr, ifindex) : 108 ipv6_hash(addr, ifindex); 368 int ifidx = neigh->dev->ifindex; 383 if (!addreq(e, addr) && e->ifindex == ifidx && 397 e->ifindex [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 68 static inline unsigned int arp_hash(u32 key, int ifindex, argument 71 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); 240 int hash = arp_hash(e->addr, e->ifindex, d); 319 ifidx = neigh->dev->ifindex; 334 if (e->addr == addr && e->ifindex == ifidx && 350 e->ifindex = ifidx; 402 int ifidx = neigh->dev->ifindex; 407 if (e->addr == addr && e->ifindex == ifidx) {
|
H A D | l2t.h | 61 int ifindex; /* neighbor's net_device's ifindex */ member in struct:l2t_entry
|
/drivers/net/ppp/ |
H A D | pppoe.c | 11 * session id by including the local device ifindex in the 167 unsigned char *addr, int ifindex) 175 ret->pppoe_ifindex == ifindex) 205 char *addr, int ifindex) 215 ret->pppoe_ifindex == ifindex) { 233 unsigned char *addr, int ifindex) 238 po = __get_item(pn, sid, addr, ifindex); 253 int ifindex; local 258 ifindex = dev->ifindex; 166 __get_item(struct pppoe_net *pn, __be16 sid, unsigned char *addr, int ifindex) argument 204 __delete_item(struct pppoe_net *pn, __be16 sid, char *addr, int ifindex) argument 232 get_item(struct pppoe_net *pn, __be16 sid, unsigned char *addr, int ifindex) argument 267 delete_item(struct pppoe_net *pn, __be16 sid, char *addr, int ifindex) argument [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_common.c | 259 dhd_wl_ioctl_cmd(dhd_pub_t *dhd_pub, int cmd, void *arg, int len, uint8 set, int ifindex) argument 268 return dhd_wl_ioctl(dhd_pub, ifindex, &ioc, arg, len); 273 dhd_wl_ioctl(dhd_pub_t *dhd_pub, int ifindex, wl_ioctl_t *ioc, void *buf, int len) argument 279 ret = dhd_prot_ioctl(dhd_pub, ifindex, ioc, buf, len); 282 dhd_os_check_hang(dhd_pub, ifindex, ret);
|