Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 60) sorted by relevance

123

/tools/testing/selftests/net/
Ddevlink_port_split.py75 def get_max_lanes(port): argument
93 def get_split_ability(port): argument
107 def split(k, port, should_fail=False): argument
130 def unsplit(port): argument
140 def exists(port, dev): argument
183 def create_split_group(port, k): argument
192 def split_unsplittable_port(port, k): argument
204 def split_splittable_port(port, k, lanes, dev): argument
Dip_local_port_range.c221 int fd, err, port; in TEST_F() local
264 int fd, err, port; in TEST_F() local
293 __u16 port; in TEST_F() local
350 __u16 port; in TEST_F() local
Dsctp_hello.c11 static void set_addr(struct sockaddr_storage *ss, char *ip, char *port, int *len) in set_addr()
Dpsock_lib.h77 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open()
/tools/testing/vsock/
Dutil.c87 static int vsock_connect(unsigned int cid, unsigned int port, int type) in vsock_connect()
123 int vsock_stream_connect(unsigned int cid, unsigned int port) in vsock_stream_connect()
128 int vsock_seqpacket_connect(unsigned int cid, unsigned int port) in vsock_seqpacket_connect()
136 static int vsock_accept(unsigned int cid, unsigned int port, in vsock_accept()
202 int vsock_stream_accept(unsigned int cid, unsigned int port, in vsock_stream_accept()
208 int vsock_seqpacket_accept(unsigned int cid, unsigned int port, in vsock_seqpacket_accept()
Dvsock_perf.c31 static unsigned int port = DEFAULT_PORT; variable
96 static int vsock_connect(unsigned int cid, unsigned int port) in vsock_connect()
/tools/testing/selftests/x86/
Dioperm.c55 static bool try_outb(unsigned short port) in try_outb()
68 static void expect_ok(unsigned short port) in expect_ok()
78 static void expect_gp(unsigned short port) in expect_gp()
Diopl.c55 static bool try_outb(unsigned short port) in try_outb()
68 static void expect_ok_outb(unsigned short port) in expect_ok_outb()
78 static void expect_gp_outb(unsigned short port) in expect_gp_outb()
/tools/testing/cxl/test/
Dmock.c134 struct cxl_hdm *__wrap_devm_cxl_setup_hdm(struct cxl_port *port, in __wrap_devm_cxl_setup_hdm()
152 int __wrap_devm_cxl_add_passthrough_decoder(struct cxl_port *port) in __wrap_devm_cxl_add_passthrough_decoder()
171 struct cxl_port *port = cxlhdm->port; in __wrap_devm_cxl_enumerate_decoders() local
184 int __wrap_devm_cxl_port_enumerate_dports(struct cxl_port *port) in __wrap_devm_cxl_port_enumerate_dports()
247 struct cxl_dport *__wrap_devm_cxl_add_rch_dport(struct cxl_port *port, in __wrap_devm_cxl_add_rch_dport()
Dcxl.c623 static struct cxl_hdm *mock_cxl_setup_hdm(struct cxl_port *port, in mock_cxl_setup_hdm()
639 static int mock_cxl_add_passthrough_decoder(struct cxl_port *port) in mock_cxl_add_passthrough_decoder()
669 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_commit() local
692 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset() local
744 struct cxl_port *port, *iter; in mock_init_hdm_decoder() local
851 struct cxl_port *port = cxlhdm->port; in mock_cxl_enumerate_decoders() local
921 static int mock_cxl_port_enumerate_dports(struct cxl_port *port) in mock_cxl_port_enumerate_dports()
/tools/net/ynl/generated/
Dfou-user.h27 __u32 port:1; member
39 __u16 port /* big-endian */; member
57 fou_add_req_set_port(struct fou_add_req *req, __u16 port /* big-endian */) in fou_add_req_set_port()
132 __u32 port:1; member
142 __u16 port /* big-endian */; member
168 fou_del_req_set_port(struct fou_del_req *req, __u16 port /* big-endian */) in fou_del_req_set_port()
222 __u32 port:1; member
232 __u16 port /* big-endian */; member
258 fou_get_req_set_port(struct fou_get_req *req, __u16 port /* big-endian */) in fou_get_req_set_port()
303 __u32 port:1; member
[all …]
/tools/usb/usbip/libsrc/
Dvhci_driver.c52 int port, status, speed, devid; in parse_status() local
188 char *port, unsigned long port_len, char *busid) in read_record()
357 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, in usbip_vhci_attach_device2()
391 int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, in usbip_vhci_attach_device()
399 int usbip_vhci_detach_device(uint8_t port) in usbip_vhci_detach_device()
/tools/testing/selftests/bpf/
Dnetwork_helpers.c121 const char *addr_str, __u16 port, int timeout_ms) in start_server_proto()
133 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server()
139 int start_mptcp_server(int family, const char *addr_str, __u16 port, in start_mptcp_server()
147 __u16 port, int timeout_ms, unsigned int nr_listens) in start_reuseport_server()
352 int make_sockaddr(int family, const char *addr_str, __u16 port, in make_sockaddr()
Dtest_sock.c36 unsigned short port; member
414 unsigned short port, unsigned short port_retry) in bind_sock()
/tools/testing/selftests/bpf/prog_tests/
Dvrf_socket_lookup.c62 static int make_socket(int sotype, const char *ip, int port, in make_socket()
84 static int make_server(int sotype, const char *ip, int port, const char *ifname) in make_server()
202 const char *ip, int port, bool test_xdp, bool tcp_skc, in test_lookup()
Dsk_assign.c127 in_port_t port = 0; in get_port() local
161 in_port_t port; in run_test() local
217 prepare_addr(struct sockaddr *addr, int family, __u16 port, bool rewrite_addr) in prepare_addr()
Dcgroup_tcp_skb.c68 int port; in talk_to_cgroup() local
115 int port; in talk_to_outside() local
Dcgroup_v1v2.c49 static const int port = 60120; in test_cgroup_v1v2() local
Dbind_perm.c22 void try_bind(int family, int port, int expected_errno) in try_bind()
Dconnect_force_port.c12 __u16 port; in verify_ports() local
/tools/usb/usbip/src/
Dusbip_attach.c39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection()
84 int port; in import_device() local
Dusbip_detach.c32 static int detach_port(char *port) in detach_port()
/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c345 u_int16_t family, port; in dsf() local
462 u_int16_t port; in csf() local
708 u_int16_t port; in announce_addr() local
862 u_int16_t port; in add_addr() local
955 uint16_t port = 0; in print_addr() local
1387 u_int16_t port; in set_flags() local
/tools/testing/selftests/bpf/progs/
Dconnect_force_port6.c18 __be16 port; member
Dconnect_force_port4.c19 __be16 port; member

123