Home
last modified time | relevance | path

Searched refs:dev_idx (Results 1 – 7 of 7) sorted by relevance

/net/hsr/
Dhsr_netlink.h26 void hsr_nl_framedrop(int dropcount, int dev_idx);
27 void hsr_nl_linkdown(int dev_idx);
/net/phonet/
Dpn_netlink.c125 int dev_idx = 0, dev_start_idx = cb->args[0]; in getaddr_dumpit() local
133 if (dev_idx > dev_start_idx) in getaddr_dumpit()
135 if (dev_idx++ < dev_start_idx) in getaddr_dumpit()
152 cb->args[0] = dev_idx; in getaddr_dumpit()
/net/nfc/
Dnetlink.c1465 u32 dev_idx; member
1486 if (nla_put_u32(msg, NFC_ATTR_DEVICE_INDEX, ctx->dev_idx) || in se_io_cb()
1511 u32 dev_idx, se_idx; in nfc_genl_se_io() local
1521 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_se_io()
1524 dev = nfc_get_device(dev_idx); in nfc_genl_se_io()
1551 ctx->dev_idx = dev_idx; in nfc_genl_se_io()
1566 u32 dev_idx, vid, subcmd; in nfc_genl_vendor_cmd() local
1576 dev_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]); in nfc_genl_vendor_cmd()
1580 dev = nfc_get_device(dev_idx); in nfc_genl_vendor_cmd()
Dllcp_sock.c89 dev = nfc_get_device(llcp_addr.dev_idx); in llcp_sock_bind()
171 dev = nfc_get_device(llcp_addr.dev_idx); in llcp_raw_sock_bind()
519 llcp_addr->dev_idx = llcp_sock->dev->idx; in llcp_sock_getname()
671 pr_debug("addr dev_idx=%u target_idx=%u protocol=%u\n", addr->dev_idx, in llcp_sock_connect()
685 dev = nfc_get_device(addr->dev_idx); in llcp_sock_connect()
Drawsock.c90 addr->dev_idx, addr->target_idx, addr->nfc_protocol); in rawsock_connect()
99 dev = nfc_get_device(addr->dev_idx); in rawsock_connect()
/net/core/
Dneighbour.c2564 int dev_idx; member
2578 if (filter->dev_idx || filter->master_idx) in neigh_dump_table()
2592 if (neigh_ifindex_filtered(n->dev, filter->dev_idx) || in neigh_dump_table()
2624 if (filter->dev_idx || filter->master_idx) in pneigh_dump_table()
2635 if (neigh_ifindex_filtered(n->dev, filter->dev_idx) || in pneigh_dump_table()
2704 filter->dev_idx = nla_get_u32(tb[i]); in neigh_valid_dump_req()
2768 void **dst, int *dev_idx, u8 *ndm_flags, in neigh_valid_get_req() argument
2798 *dev_idx = ndm->ndm_ifindex; in neigh_valid_get_req()
2894 int dev_idx = 0; in neigh_get() local
2897 err = neigh_valid_get_req(nlh, &tbl, &dst, &dev_idx, &ndm_flags, in neigh_get()
[all …]
/net/ipv4/
Dnexthop.c3055 int dev_idx; member
3071 if (!filter->dev_idx && !filter->master_idx && !family) in nh_dump_filtered()
3082 if (filter->dev_idx && (!dev || dev->ifindex != filter->dev_idx)) in nh_dump_filtered()
3112 filter->dev_idx = idx; in __nh_valid_dump_req()