Lines Matching defs:sock_args
55 struct sock_args { struct
57 const char *local_addr_str;
58 const char *client_local_addr_str;
59 union {
62 } local_addr;
65 const char *remote_addr_str;
66 union {
69 } remote_addr;
70 int scope_id; /* remote scope; v6 send only */
72 struct in_addr grp; /* multicast group */
74 unsigned int has_local_ip:1,
75 has_remote_ip:1,
76 has_grp:1,
77 has_expected_laddr:1,
78 has_expected_raddr:1,
79 bind_test_only:1,
80 client_dontroute:1,
81 server_dontroute:1;
83 unsigned short port;
85 int type; /* DGRAM, STREAM, RAW */
86 int protocol;
87 int version; /* AF_INET/AF_INET6 */
89 int use_setsockopt;
90 int use_freebind;
91 int use_cmsg;
92 uint8_t dsfield;
93 const char *dev;
94 const char *server_dev;
95 int ifindex;
97 const char *clientns;
98 const char *serverns;
100 const char *password;
101 const char *client_pw;
103 const char *md5_prefix_str;
104 union {
107 } md5_prefix;
108 unsigned int prefix_len;
110 int bind_key_ifindex;
113 const char *expected_dev;
114 const char *expected_server_dev;
115 int expected_ifindex;
118 const char *expected_laddr_str;
119 union {
122 } expected_laddr;
125 const char *expected_raddr_str;
126 union {
129 } expected_raddr;
132 int use_xfrm;
135 int datagram_connect;