Searched refs:s_local (Results 1 – 4 of 4) sorted by relevance
100 sk->s_local.nl_family = AF_NETLINK; in __alloc_socket()103 sk->s_local.nl_pid = generate_local_port(); in __alloc_socket()104 if (sk->s_local.nl_pid == UINT_MAX) { in __alloc_socket()158 release_local_port(sk->s_local.nl_pid); in nl_socket_free()244 return sk->s_local.nl_pid; in nl_socket_get_local_port()262 release_local_port(sk->s_local.nl_pid); in nl_socket_set_local_port()266 sk->s_local.nl_pid = port; in nl_socket_set_local_port()380 sk->s_local.nl_groups |= groups; in nl_join_groups()
123 err = bind(sk->s_fd, (struct sockaddr*) &sk->s_local, in nl_connect()124 sizeof(sk->s_local)); in nl_connect()130 addrlen = sizeof(sk->s_local); in nl_connect()131 err = getsockname(sk->s_fd, (struct sockaddr *) &sk->s_local, in nl_connect()138 if (addrlen != sizeof(sk->s_local)) { in nl_connect()143 if (sk->s_local.nl_family != AF_NETLINK) { in nl_connect()210 nlmsg_set_src(msg, &sk->s_local); in nl_sendmsg()297 nlh->nlmsg_pid = sk->s_local.nl_pid; in nl_auto_complete()
147 int s_local = 2; in unknown_after_loop() local154 clang_analyzer_eval(s_local); // expected-warning {{UNKNOWN}} in unknown_after_loop()
63 struct sockaddr_nl s_local; member