Searched refs:bpf_inst (Results 1 – 1 of 1) sorted by relevance
112 static net_instance_t *bpf_inst = NULL; variable179 bpf_inst = net_instance_alloc(NETINFO_VERSION); in bpf_attach()180 if (bpf_inst == NULL) in bpf_attach()182 bpf_inst->nin_name = "bpf"; in bpf_attach()183 bpf_inst->nin_create = bpf_create_inst; in bpf_attach()184 bpf_inst->nin_destroy = bpf_destroy_inst; in bpf_attach()185 bpf_inst->nin_shutdown = bpf_shutdown_inst; in bpf_attach()186 if (net_instance_register(bpf_inst) != 0) { in bpf_attach()187 net_instance_free(bpf_inst); in bpf_attach()218 if (net_instance_unregister(bpf_inst) != 0) in bpf_detach()[all …]