Home
last modified time | relevance | path

Searched +full:mcast +full:- +full:groups (Results 1 – 25 of 34) sorted by relevance

12

/linux/Documentation/netlink/specs/
H A Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
5 uapi-header: linux/genetlink.h
8 genetlink meta-family that exposes information about all genetlink
12 -
13 name: op-flags
15 enum-name:
17 - admin-perm
18 - cmd-cap-do
[all …]
H A Drt-link.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-link
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
13 name: ifinfo-flags
16 enum-name: net-device-flags
17 name-prefix: iff-
[all …]
H A Drt-neigh.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-neigh
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
16 -
17 name: ndm-family
19 -
[all …]
H A Drt-addr.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-addr
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
16 -
17 name: ifa-family
19 -
[all …]
H A Ddev-energymodel.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 ---
6 name: dev-energymodel
13 uapi-header: linux/dev_energymodel.h
16 -
18 name: perf-state-flags
20 -
21 name: perf-state-inefficient
22 doc: >-
23 The performance state is inefficient. There is in this perf-domain,
[all …]
H A Drt-route.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: rt-route
4 protocol: netlink-raw
5 uapi-header: linux/rtnetlink.h
8 doc: >-
12 -
13 name: rtm-type
14 name-prefix: rtn-
15 enum-name:
[all …]
H A Dnfsd.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 uapi-header: linux/nfsd_netlink.h
10 -
12 name: cache-type
14 -
16 name: export-flags
19 - readonly
20 - insecure-port
21 - rootsquash
[all …]
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
17 name: nonce-tail-size
19 -
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
23 -
25 name: del-peer-reason
[all …]
H A Dnl80211.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
6 doc: >-
10 -
14 - unspec
15 - get-wiphy
16 - set-wiphy
17 - new-wiphy
18 - del-wiphy
[all …]
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
16 -
20 -
23 render-max: true
24 -
26 name: lock-status
31 -
37 -
[all …]
H A Dnetdev.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 doc: >-
9 -
11 name: page-size
17 -
19 name: xdp-act
20 render-max: true
22 -
24 doc: >-
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_mcast.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
19 INIT_LIST_HEAD(&bridge->mdb_list); in mlx5_esw_bridge_mdb_init()
20 return rhashtable_init(&bridge->mdb_ht, &mdb_ht_params); in mlx5_esw_bridge_mdb_init()
25 rhashtable_destroy(&bridge->mdb_ht); in mlx5_esw_bridge_mdb_cleanup()
32 return xa_load(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_lookup()
38 int err = xa_insert(&entry->ports, mlx5_esw_bridge_port_key(port), port, GFP_KERNEL); in mlx5_esw_bridge_mdb_port_insert()
41 entry->num_ports++; in mlx5_esw_bridge_mdb_port_insert()
48 xa_erase(&entry->ports, mlx5_esw_bridge_port_key(port)); in mlx5_esw_bridge_mdb_port_remove()
49 entry->num_ports--; in mlx5_esw_bridge_mdb_port_remove()
60 int num_dests = entry->num_ports, i = 0; in mlx5_esw_bridge_mdb_flow_create()
[all …]
H A Dlegacy.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
25 struct mlx5_core_dev *dev = esw->dev; in esw_create_legacy_vepa_table()
33 return -EOPNOTSUPP; in esw_create_legacy_vepa_table()
46 esw->fdb_table.legacy.vepa_fdb = fdb; in esw_create_legacy_vepa_table()
53 esw_debug(esw->dev, "Destroy FDB Table\n"); in esw_destroy_legacy_fdb_table()
54 if (!esw->fdb_table.legacy.fdb) in esw_destroy_legacy_fdb_table()
57 if (esw->fdb_table.legacy.promisc_grp) in esw_destroy_legacy_fdb_table()
58 mlx5_destroy_flow_group(esw->fdb_table.legacy.promisc_grp); in esw_destroy_legacy_fdb_table()
59 if (esw->fdb_table.legacy.allmulti_grp) in esw_destroy_legacy_fdb_table()
60 mlx5_destroy_flow_group(esw->fdb_table.legacy.allmulti_grp); in esw_destroy_legacy_fdb_table()
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8; mode: python -*-
40 def headroom(level: int) -> str:
45 def bold(text: str) -> str:
50 def inline(text: str) -> str:
55 def sanitize(text: str) -> str:
60 def rst_fields(self, key: str, value: str, level: int = 0) -> str:
64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str:
68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str:
72 def rst_bullet(self, item: str, level: int = 0) -> str:
[all …]
H A Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 # pylint: disable=missing-function-docstring, too-many-instance-attributes, too-many-branches
47 self.ident_name = self.name.replace('-', '_')
128 value_start = self.yaml.get('value-start', 0)
175 sub-message type
177 is_auto_scalar bool, attr is a variable-size scalar
185 self.is_multi = yaml.get('multi-attr', False)
187 self.sub_type = yaml.get('sub-type')
188 self.byte_order = yaml.get('byte-order')
190 self.display_hint = yaml.get('display-hint')
[all …]
/linux/drivers/infiniband/core/
H A Duverbs_main.c18 * - Redistributions of source code must retain the above
22 * - Redistributions in binary form must reproduce the above
71 IB_UVERBS_NUM_DYNAMIC_MINOR = IB_UVERBS_MAX_DEVICES - IB_UVERBS_NUM_FIXED_MINOR,
97 struct ib_pd *pd = mw->pd; in uverbs_dealloc_mw()
100 ret = mw->device->ops.dealloc_mw(mw); in uverbs_dealloc_mw()
104 atomic_dec(&pd->usecnt); in uverbs_dealloc_mw()
114 uverbs_destroy_api(dev->uapi); in ib_uverbs_release_dev()
115 cleanup_srcu_struct(&dev->disassociate_srcu); in ib_uverbs_release_dev()
116 mutex_destroy(&dev->lists_mutex); in ib_uverbs_release_dev()
117 mutex_destroy(&dev->xrcd_tree_mutex); in ib_uverbs_release_dev()
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh2 # SPDX-License-Identifier: GPL-2.0
24 ip -n ${s_ns} link set eth0 type bond_slave prio 10
25 [[ $? -ne 0 ]] && skip=0
28 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10"
29 [[ $? -ne 0 ]] && skip=0
39 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6}
40 [[ $? -ne 0 ]] && skip=0
43 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}"
44 [[ $? -ne 0 ]] && skip=0
46 ip -n ${s_ns} link del bond1
[all …]
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
22 len-or-limit:
[all …]
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2020-2025 OpenVPN, Inc.
147 ret = nl_recvmsgs(ctx->nl_sock, ctx->nl_cb); in ovpn_nl_recvmsgs()
150 case -NLE_INTR: in ovpn_nl_recvmsgs()
152 "netlink received interrupt due to signal - ignoring\n"); in ovpn_nl_recvmsgs()
154 case -NLE_NOMEM: in ovpn_nl_recvmsgs()
157 case -NLE_AGAIN: in ovpn_nl_recvmsgs()
159 "netlink reports blocking read - aborting wait\n"); in ovpn_nl_recvmsgs()
164 ret, nl_geterror(-ret)); in ovpn_nl_recvmsgs()
181 ctx->nl_sock = nl_socket_alloc(); in nl_ctx_alloc_flags()
[all …]
/linux/drivers/s390/net/
H A Dqeth_l3_main.c1 // SPDX-License-Identifier: GPL-2.0
61 if (query->is_multicast) { in qeth_l3_find_addr_by_ip()
62 hash_for_each_possible(card->rx_mode_addrs, addr, hnode, key) in qeth_l3_find_addr_by_ip()
66 hash_for_each_possible(card->ip_htable, addr, hnode, key) in qeth_l3_find_addr_by_ip()
80 for (j = 7; j >= 0; --j) { in qeth_l3_convert_addr_to_bits()
95 if (!card->ipato.enabled) in qeth_l3_is_addr_covered_by_ipato()
97 if (addr->type != QETH_IP_TYPE_NORMAL) in qeth_l3_is_addr_covered_by_ipato()
100 qeth_l3_convert_addr_to_bits((u8 *) &addr->u, addr_bits, in qeth_l3_is_addr_covered_by_ipato()
101 (addr->proto == QETH_PROT_IPV4) ? 4 : 16); in qeth_l3_is_addr_covered_by_ipato()
102 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac80211.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2026 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
20 #include "iwl-drv.h"
21 #include "iwl-op-mode.h"
22 #include "iwl-io.h"
25 #include "time-event.h"
26 #include "iwl-nvm-utils.h"
27 #include "iwl-phy-db.h"
[all …]
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/net/ethernet/rocker/rocker_ofdpa.c - Rocker switch OF-DPA-like
6 * Copyright (c) 2014-2016 Jiri Pirko <jiri@mellanox.com>
257 vlan_id = ofdpa_port->internal_vlan_id; in ofdpa_port_vid_to_vlan()
277 return ofdpa_port->bridge_dev && in ofdpa_port_is_slave()
278 !strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind); in ofdpa_port_is_slave()
310 entry->key.ig_port.in_pport)) in ofdpa_cmd_flow_tbl_add_ig_port()
311 return -EMSGSIZE; in ofdpa_cmd_flow_tbl_add_ig_port()
313 entry->key.ig_port.in_pport_mask)) in ofdpa_cmd_flow_tbl_add_ig_port()
314 return -EMSGSIZE; in ofdpa_cmd_flow_tbl_add_ig_port()
[all …]

12