Searched refs:auth_token (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/netmap/ |
H A D | netmap_bdg.h | 72 …bdg_regops(const char *name, struct netmap_bdg_ops *bdg_ops, void *private_data, void *auth_token); 166 nm_bdg_valid_auth_token(struct nm_bridge *b, void *auth_token) in nm_bdg_valid_auth_token() argument 168 return !(b->bdg_flags & NM_BDG_EXCLUSIVE) || b->ht == auth_token; in nm_bdg_valid_auth_token() 179 int netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token); 191 void *callback_data, void *auth_token);
|
H A D | netmap_bdg.c | 257 void *callback_data, void *auth_token) in netmap_bdg_update_private_data() argument 269 if (!nm_bdg_valid_auth_token(b, auth_token)) { in netmap_bdg_update_private_data() 544 netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_attach() argument 557 if (b && !nm_bdg_valid_auth_token(b, auth_token)) { in netmap_bdg_attach() 630 netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_detach() argument 635 error = netmap_bdg_detach_locked(hdr, auth_token); in netmap_bdg_detach() 641 netmap_bdg_detach_locked(struct nmreq_header *hdr, void *auth_token) in netmap_bdg_detach_locked() argument 651 if (b && !nm_bdg_valid_auth_token(b, auth_token)) { in netmap_bdg_detach_locked() 998 …_bdg_regops(const char *name, struct netmap_bdg_ops *bdg_ops, void *private_data, void *auth_token) in netmap_bdg_regops() argument 1009 if (!nm_bdg_valid_auth_token(b, auth_token)) { in netmap_bdg_regops()
|
H A D | netmap_kern.h | 1149 int netmap_bdg_attach(struct nmreq_header *hdr, void *auth_token); 1150 int netmap_bdg_detach(struct nmreq_header *hdr, void *auth_token); 1549 int netmap_vale_destroy(const char *bdg_name, void *auth_token);
|
H A D | netmap_vale.c | 283 netmap_vale_destroy(const char *bdg_name, void *auth_token) in netmap_vale_destroy() argument 295 if (!nm_bdg_valid_auth_token(b, auth_token)) { in netmap_vale_destroy()
|