Home
last modified time | relevance | path

Searched refs:ynl (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/net/ynl/
H A Dethtool.py12 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 …]
H A Dcli.py39 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)
H A DMakefile6 ./ynl-regen.sh -f -p $(PWD)/../../../
H A Dynl-regen.sh4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dintro-specs.rst18 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.
/openbmc/linux/tools/net/ynl/lib/
H A DMakefile14 all: ynl.a
16 ynl.a: $(OBJS)
H A D__init__.py5 from .ynl import YnlFamily, Netlink
H A Dynl.py362 def decode(self, ynl, nl_msg): argument
365 if ynl:
366 op = ynl.rsp_by_value[msg.cmd()]
367 fixed_header_size = ynl._fixed_header_size(op)
/openbmc/linux/tools/net/ynl/samples/
H A DMakefile12 LDLIBS=-lmnl ../lib/ynl.a ../generated/protos.a
21 $(BINS): ../lib/ynl.a ../generated/protos.a
/openbmc/linux/tools/net/ynl/generated/
H A DMakefile15 TOOL:=../ynl-gen-c.py
47 @../ynl-regen.sh
/openbmc/u-boot/post/drivers/
H A Drtc.c78 unsigned int ynl = 1999; in rtc_post_test() local
120 tm.tm_year = ynl; in rtc_post_test()
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log2379 2024-12-28 20:09:06.386-0600 FINEST t1162 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/tools/net/ynl/ynl-gen-c.py.gz'
[all...]
/openbmc/
Dopengrok1.0.log[all...]
Dopengrok2.0.log[all...]