Lines Matching refs:flags
26 u32 flags = 0; in sk_diag_put_flags() local
29 flags |= NDIAG_FLAG_CB_RUNNING; in sk_diag_put_flags()
30 if (nlk->flags & NETLINK_F_RECV_PKTINFO) in sk_diag_put_flags()
31 flags |= NDIAG_FLAG_PKTINFO; in sk_diag_put_flags()
32 if (nlk->flags & NETLINK_F_BROADCAST_SEND_ERROR) in sk_diag_put_flags()
33 flags |= NDIAG_FLAG_BROADCAST_ERROR; in sk_diag_put_flags()
34 if (nlk->flags & NETLINK_F_RECV_NO_ENOBUFS) in sk_diag_put_flags()
35 flags |= NDIAG_FLAG_NO_ENOBUFS; in sk_diag_put_flags()
36 if (nlk->flags & NETLINK_F_LISTEN_ALL_NSID) in sk_diag_put_flags()
37 flags |= NDIAG_FLAG_LISTEN_ALL_NSID; in sk_diag_put_flags()
38 if (nlk->flags & NETLINK_F_CAP_ACK) in sk_diag_put_flags()
39 flags |= NDIAG_FLAG_CAP_ACK; in sk_diag_put_flags()
41 return nla_put_u32(skb, NETLINK_DIAG_FLAGS, flags); in sk_diag_put_flags()
46 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
53 flags); in sk_diag_fill()
97 unsigned long flags; in __netlink_diag_dump() local
156 read_lock_irqsave(&nl_table_lock, flags); in __netlink_diag_dump()
177 read_unlock_irqrestore(&nl_table_lock, flags); in __netlink_diag_dump()