Searched refs:nl_ctx_alloc (Results 1 – 1 of 1) sorted by relevance
234 static struct nl_ctx *nl_ctx_alloc(struct ovpn_ctx *ovpn, int cmd) in nl_ctx_alloc() function646 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_PEER_NEW); in ovpn_new_peer()710 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_PEER_SET); in ovpn_set_peer()734 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_PEER_DEL); in ovpn_del_peer()911 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_KEY_NEW); in ovpn_new_key()945 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_KEY_DEL); in ovpn_del_key()1026 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_KEY_GET); in ovpn_get_key()1047 ctx = nl_ctx_alloc(ovpn, OVPN_CMD_KEY_SWAP); in ovpn_swap_keys()