Home
last modified time | relevance | path

Searched refs:s_local (Results 1 – 4 of 4) sorted by relevance

/external/libnl/lib/
Dsocket.c100 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()
Dnl.c123 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()
/external/clang/test/Analysis/
Dloop-widening.c147 int s_local = 2; in unknown_after_loop() local
154 clang_analyzer_eval(s_local); // expected-warning {{UNKNOWN}} in unknown_after_loop()
/external/libnl/include/
Dnetlink-types.h63 struct sockaddr_nl s_local; member