Searched refs:ids (Results 1 - 7 of 7) sorted by relevance

/net/openvswitch/
H A Dvport.c338 * @ids: new configuration, an array of port ids.
340 * Sets the vport's upcall_portids to @ids.
342 * Returns 0 if successful, -EINVAL if @ids is zero length or cannot be parsed
347 int ovs_vport_set_upcall_portids(struct vport *vport, struct nlattr *ids) argument
351 if (!nla_len(ids) || nla_len(ids) % sizeof(u32))
356 vport_portids = kmalloc(sizeof(*vport_portids) + nla_len(ids),
361 vport_portids->n_ids = nla_len(ids) / sizeof(u32);
363 nla_memcpy(vport_portids->ids, id
389 struct vport_portids *ids; local
413 struct vport_portids *ids; local
[all...]
H A Dvport.h74 * @n_ids: Size of @ids array.
75 * @ids: Array storing the Netlink socket pids to be used for packets received
82 u32 ids[]; member in struct:vport_portids
H A Ddatapath.c1846 struct nlattr *ids = a[OVS_VPORT_ATTR_UPCALL_PID]; local
1848 err = ovs_vport_set_upcall_portids(vport, ids);
/net/ipv6/netfilter/
H A Dip6t_frag.c67 id_match(fraginfo->ids[0], fraginfo->ids[1],
92 id_match(fraginfo->ids[0], fraginfo->ids[1],
/net/mac80211/
H A Dutil.c2045 static bool ieee80211_id_in_list(const u8 *ids, int n_ids, u8 id) argument
2050 if (ids[i] == id)
2060 * @ids: an array with element IDs that are allowed before
2081 const u8 *ids, int n_ids, size_t offset)
2085 while (pos < ielen && ieee80211_id_in_list(ids, n_ids, ies[pos]))
2080 ieee80211_ie_split(const u8 *ies, size_t ielen, const u8 *ids, int n_ids, size_t offset) argument
H A Dieee80211_i.h1836 const u8 *ids, int n_ids, size_t offset);
/net/sctp/
H A Dsocket.c5761 struct sctp_assoc_ids *ids; local
5779 ids = kmalloc(len, GFP_KERNEL);
5780 if (unlikely(!ids))
5783 ids->gaids_number_of_ids = num;
5786 ids->gaids_assoc_id[num++] = asoc->assoc_id;
5789 if (put_user(len, optlen) || copy_to_user(optval, ids, len)) {
5790 kfree(ids);
5794 kfree(ids);

Completed in 70 milliseconds