Searched refs:nlk (Results 1 – 2 of 2) sorted by relevance
350 struct netlink_sock *nlk = nlk_sk(sk); in netlink_overrun() local352 if (!(nlk->flags & NETLINK_F_RECV_NO_ENOBUFS)) { in netlink_overrun()364 struct netlink_sock *nlk = nlk_sk(sk); in netlink_rcv_wake() local367 clear_bit(NETLINK_S_CONGESTED, &nlk->state); in netlink_rcv_wake()368 if (!test_bit(NETLINK_S_CONGESTED, &nlk->state)) in netlink_rcv_wake()369 wake_up_interruptible(&nlk->wait); in netlink_rcv_wake()396 struct netlink_sock *nlk = nlk_sk(sk); in netlink_sock_destruct() local398 if (nlk->cb_running) { in netlink_sock_destruct()399 if (nlk->cb.done) in netlink_sock_destruct()400 nlk->cb.done(&nlk->cb); in netlink_sock_destruct()[all …]
14 struct netlink_sock *nlk = nlk_sk(sk); in sk_diag_dump_groups() local16 if (nlk->groups == NULL) in sk_diag_dump_groups()19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()20 nlk->groups); in sk_diag_dump_groups()25 struct netlink_sock *nlk = nlk_sk(sk); in sk_diag_put_flags() local28 if (nlk->cb_running) in sk_diag_put_flags()30 if (nlk->flags & NETLINK_F_RECV_PKTINFO) in sk_diag_put_flags()32 if (nlk->flags & NETLINK_F_BROADCAST_SEND_ERROR) in sk_diag_put_flags()34 if (nlk->flags & NETLINK_F_RECV_NO_ENOBUFS) in sk_diag_put_flags()36 if (nlk->flags & NETLINK_F_LISTEN_ALL_NSID) in sk_diag_put_flags()[all …]