Searched refs:ynl (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/tools/net/ynl/ |
D | ethtool.py | 12 def args_to_req(ynl, op_name, args, req): argument 16 valid_attrs = ynl.operation_do_attributes(op_name) 72 def doit(ynl, args, op_name): argument 82 args_to_req(ynl, op_name, args.args, req) 83 ynl.do(op_name, req) 85 def dumpit(ynl, args, op_name, extra = {}): argument 90 reply = ynl.dump(op_name, { 'header': {} } | extra) 158 ynl = YnlFamily(spec, schema) 166 return doit(ynl, args, 'eee-set') 169 return doit(ynl, args, 'pause-set') [all …]
|
D | cli.py | 39 ynl = YnlFamily(args.spec, args.schema) 42 ynl.ntf_subscribe(args.ntf) 48 reply = ynl.do(args.do, attrs, args.flags) 51 reply = ynl.dump(args.dump, attrs) 55 ynl.check_ntf() 56 pprint.PrettyPrinter().pprint(ynl.async_msg_queue)
|
D | Makefile | 6 ./ynl-regen.sh -f -p $(PWD)/../../../
|
D | ynl-regen.sh | 4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
|
/Linux-v6.6/Documentation/userspace-api/netlink/ |
D | intro-specs.rst | 18 The tool is located at ``tools/net/ynl/cli.py``. It accepts 30 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml \ 56 ``tools/net/ynl/ynl-regen.sh`` scans the kernel tree in search of 63 ``ynl-regen.sh`` searches for ``YNL-GEN`` in the contents of files 70 ``ynl-regen.sh`` will find this marker and replace the file with 78 The code generation itself is performed by ``tools/net/ynl/ynl-gen-c.py`` 85 ``tools/net/ynl/lib/`` contains an implementation of a C library 87 ``tools/net/ynl/ynl-gen-c.py`` to create easy to use netlink wrappers.
|
/Linux-v6.6/tools/net/ynl/lib/ |
D | Makefile | 14 all: ynl.a 16 ynl.a: $(OBJS)
|
D | __init__.py | 5 from .ynl import YnlFamily, Netlink
|
D | ynl.py | 361 def decode(self, ynl, nl_msg): argument 364 if ynl: 365 op = ynl.rsp_by_value[msg.cmd()] 366 fixed_header_size = ynl._fixed_header_size(op)
|
/Linux-v6.6/tools/net/ynl/samples/ |
D | Makefile | 12 LDLIBS=-lmnl ../lib/ynl.a ../generated/protos.a 21 $(BINS): ../lib/ynl.a ../generated/protos.a
|
/Linux-v6.6/tools/net/ynl/generated/ |
D | Makefile | 15 TOOL:=../ynl-gen-c.py 47 @../ynl-regen.sh
|