Home
last modified time | relevance | path

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

/tools/net/ynl/pyynl/
A Dethtool.py16 def args_to_req(ynl, op_name, args, req): argument
76 def doit(ynl, args, op_name): argument
86 args_to_req(ynl, op_name, args.args, req)
87 ynl.do(op_name, req)
89 def dumpit(ynl, args, op_name, extra = {}): argument
163 ynl = YnlFamily(spec, schema)
171 return doit(ynl, args, 'eee-set')
174 return doit(ynl, args, 'pause-set')
188 return doit(ynl, args, 'rings-set')
196 eee = dumpit(ynl, args, 'eee-get')
[all …]
A Dcli.py123 ynl = YnlFamily(spec, args.schema, args.process_unknown,
126 ynl.set_recv_dbg(True)
129 ynl.ntf_subscribe(args.ntf)
132 for op_name, op in ynl.ops.items():
135 for op_name, op in ynl.msgs.items():
140 reply = ynl.do(args.do, attrs, args.flags)
143 reply = ynl.dump(args.dump, attrs)
147 reply = ynl.do_multi(ops)
151 for msg in ynl.poll_ntf(duration=args.duration):
/tools/testing/selftests/net/
A Dynl.mk18 -I$(top_srcdir)/tools/net/ynl/lib/ \
19 -I$(top_srcdir)/tools/net/ynl/generated/
29 $(Q)rm -f $(top_srcdir)/tools/net/ynl/libynl.a
30 $(Q)$(MAKE) -C $(top_srcdir)/tools/net/ynl \
32 $(Q)cp $(top_srcdir)/tools/net/ynl/libynl.a $(OUTPUT)/libynl.a
35 $(top_srcdir)/tools/net/ynl/pyynl/__pycache__ \
36 $(top_srcdir)/tools/net/ynl/pyynl/lib/__pycache__ \
37 $(top_srcdir)/tools/net/ynl/lib/*.[ado] \
A DMakefile136 include ynl.mk
/tools/net/ynl/generated/
A DMakefile65 @../ynl-regen.sh
69 @$(INSTALL) -d $(DESTDIR)$(includedir)/ynl
70 @$(INSTALL) -m 0644 *.h $(DESTDIR)$(includedir)/ynl/
74 @$(INSTALL) -d $(DESTDIR)$(docdir)/ynl
75 @$(INSTALL) -m 0644 $(RSTS) $(DESTDIR)$(docdir)/ynl/
79 @$(INSTALL) -d $(DESTDIR)$(datarootdir)/ynl
80 @$(INSTALL) -m 0644 ../../../../Documentation/netlink/*.yaml $(DESTDIR)$(datarootdir)/ynl/
81 @$(INSTALL) -d $(DESTDIR)$(datarootdir)/ynl/specs
82 @$(INSTALL) -m 0644 $(SPECS_DIR)/*.yaml $(DESTDIR)$(datarootdir)/ynl/specs/
/tools/net/ynl/
A Dpyproject.toml11 description = "yaml netlink (ynl)"
23 ynl = "pyynl.cli:main"
24 ynl-ethtool = "pyynl.ethtool:main"
A DMakefile22 @ar rcs $@ lib/ynl.o generated/*-user.o
46 @$(INSTALL) -d $(DESTDIR)$(includedir)/ynl
47 @$(INSTALL) -m 0644 lib/*.h $(DESTDIR)$(includedir)/ynl/
/tools/testing/selftests/net/lib/py/
A D__init__.py8 from .ynl import NlError, YnlFamily, EthtoolFamily, NetdevFamily, RtnlFamily, RtnlAddrFamily
9 from .ynl import NetshaperFamily, DevlinkFamily
A Dynl.py16 from net.lib.ynl.pyynl.lib import YnlFamily, NlError
23 from net.ynl.pyynl.lib import YnlFamily, NlError
/tools/net/ynl/lib/
A DMakefile14 all: ynl.a
16 ynl.a: $(OBJS)
/tools/net/ynl/samples/
A DMakefile12 LDLIBS=../lib/ynl.a ../generated/protos.a
23 $(BINS): ../lib/ynl.a ../generated/protos.a $(SRCS)
/tools/net/ynl/pyynl/lib/
A D__init__.py5 from .ynl import YnlFamily, Netlink, NlError
A Dynl.py397 def decode(self, ynl, nl_msg, op): argument
400 op = ynl.rsp_by_value[msg.cmd()]
401 fixed_header_size = ynl._struct_size(op.fixed_header)
/tools/testing/selftests/net/lib/
A DMakefile9 TEST_FILES += ../../../../net/ynl
/tools/
A DMakefile122 ynl: FORCE target
123 $(call descend,net/ynl)
129 debugging tracing thermal thermometer thermal-engine ynl
/tools/testing/selftests/drivers/net/hw/
A DMakefile47 include ../../../net/ynl.mk

Completed in 52 milliseconds