| /src/contrib/ofed/librdmacm/examples/ |
| H A D | rping.c | 164 struct rping_cb *cb = cma_id->context; in rping_cma_event_handler() local 168 (cma_id == cb->cm_id) ? "parent" : "child"); in rping_cma_event_handler() 172 cb->state = ADDR_RESOLVED; in rping_cma_event_handler() 175 cb->state = ERROR; in rping_cma_event_handler() 177 sem_post(&cb->sem); in rping_cma_event_handler() 182 cb->state = ROUTE_RESOLVED; in rping_cma_event_handler() 183 sem_post(&cb->sem); in rping_cma_event_handler() 187 cb->state = CONNECT_REQUEST; in rping_cma_event_handler() 188 cb->child_cm_id = cma_id; in rping_cma_event_handler() 189 DEBUG_LOG("child cma %p\n", cb->child_cm_id); in rping_cma_event_handler() [all …]
|
| /src/sys/contrib/rdma/krping/ |
| H A D | krping.c | 249 struct krping_cb *cb = cma_id->context; in krping_cma_event_handler() local 252 (cma_id == cb->cm_id) ? "parent" : "child"); in krping_cma_event_handler() 256 cb->state = ADDR_RESOLVED; in krping_cma_event_handler() 261 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() 266 cb->state = ROUTE_RESOLVED; in krping_cma_event_handler() 267 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() 271 cb->state = CONNECT_REQUEST; in krping_cma_event_handler() 272 cb->child_cm_id = cma_id; in krping_cma_event_handler() 273 DEBUG_LOG("child cma %p\n", cb->child_cm_id); in krping_cma_event_handler() 274 wake_up_interruptible(&cb->sem); in krping_cma_event_handler() [all …]
|
| /src/crypto/openssl/crypto/bio/ |
| H A D | ossl_core_bio.c | 25 OSSL_CORE_BIO *cb = OPENSSL_malloc(sizeof(*cb)); in core_bio_new() local 27 if (cb == NULL || !CRYPTO_NEW_REF(&cb->ref_cnt, 1)) { in core_bio_new() 28 OPENSSL_free(cb); in core_bio_new() 31 return cb; in core_bio_new() 34 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb) in ossl_core_bio_up_ref() argument 38 return CRYPTO_UP_REF(&cb->ref_cnt, &ref); in ossl_core_bio_up_ref() 41 int ossl_core_bio_free(OSSL_CORE_BIO *cb) in ossl_core_bio_free() argument 45 if (cb != NULL) { in ossl_core_bio_free() 46 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref); in ossl_core_bio_free() 48 res = BIO_free(cb->bio); in ossl_core_bio_free() [all …]
|
| /src/sys/netlink/ |
| H A D | netlink_snl_route_parsers.h | 62 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, 67 { .type = NL_RTA_GATEWAY, .off = _OUT(gw), .cb = snl_attr_get_ip }, 68 { .type = NL_RTA_METRICS, .arg = &_metrics_mp_nh_parser, .cb = snl_attr_get_nested }, 69 { .type = NL_RTA_RTFLAGS, .off = _OUT(rta_rtflags), .cb = snl_attr_get_uint32 }, 70 { .type = NL_RTA_VIA, .off = _OUT(gw), .cb = snl_attr_get_ipvia }, 71 { .type = NL_RTA_EXPIRES, .off = _OUT(rta_expire), .cb = snl_attr_get_uint32 }, 75 { .off_in = _IN(rtnh_flags), .off_out = _OUT(rtnh_flags), .cb = snl_field_get_uint8 }, 76 { .off_in = _IN(rtnh_hops), .off_out = _OUT(rtnh_weight), .cb = snl_field_get_uint8 }, 77 { .off_in = _IN(rtnh_ifindex), .off_out = _OUT(ifindex), .cb = snl_field_get_uint32 }, 133 { .type = NL_RTAX_MTU, .off = _OUT(rtax_mtu), .cb = snl_attr_get_uint32 }, [all …]
|
| /src/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_iter.c | 76 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) in zfs_include_snapshots() argument 80 if ((cb->cb_flags & ZFS_ITER_PROP_LISTSNAPS) == 0) in zfs_include_snapshots() 81 return (cb->cb_types & ZFS_TYPE_SNAPSHOT); in zfs_include_snapshots() 94 callback_data_t *cb = data; in zfs_callback() local 96 boolean_t include_snaps = zfs_include_snapshots(zhp, cb); in zfs_callback() 97 boolean_t include_bmarks = (cb->cb_types & ZFS_TYPE_BOOKMARK); in zfs_callback() 99 if ((zfs_get_type(zhp) & cb->cb_types) || in zfs_callback() 105 node->zn_callback = cb; in zfs_callback() 106 if (avl_find(&cb->cb_avl, node, &idx) == NULL) { in zfs_callback() 107 if (cb->cb_proplist) { in zfs_callback() [all …]
|
| /src/sys/dev/usb/video/ |
| H A D | udl.c | 367 struct udl_cmd_buf *cb = &sc->sc_cmd_buf_temp[i]; in udl_attach() local 369 TAILQ_INSERT_TAIL(&sc->sc_cmd_buf_free, cb, entry); in udl_attach() 508 struct udl_cmd_buf *cb; in udl_cmd_buf_alloc_locked() local 510 while ((cb = TAILQ_FIRST(&sc->sc_cmd_buf_free)) == NULL) { in udl_cmd_buf_alloc_locked() 515 if (cb != NULL) { in udl_cmd_buf_alloc_locked() 516 TAILQ_REMOVE(&sc->sc_cmd_buf_free, cb, entry); in udl_cmd_buf_alloc_locked() 517 cb->off = 0; in udl_cmd_buf_alloc_locked() 519 return (cb); in udl_cmd_buf_alloc_locked() 525 struct udl_cmd_buf *cb; in udl_cmd_buf_alloc() local 528 cb = udl_cmd_buf_alloc_locked(sc, flags); in udl_cmd_buf_alloc() [all …]
|
| /src/contrib/netbsd-tests/ipf/expected/ |
| H A D | ni5 | 1 4500 002c 0000 4000 ff06 02fc 0101 0101 96cb e002 8032 0015 bd6b c9c8 0000 0000 6002 2238 f5a2 0000… 3 4500 002c ffdd 4000 ef06 5374 96cb e002 c0a8 0103 0015 8032 3786 76c4 bd6b c9c9 6012 269c 8369 0000… 5 4500 0028 0001 4000 ff06 02ff 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 76c5 5010 269c 5aa0 0000 8 4500 006f ffde 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 76c5 bd6b c9c9 5018 269c 967e 0000… 10 4500 0028 0002 4000 ff06 02fe 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 770c 5010 269c 5a59 0000 12 4500 00c7 ffdf 4000 ef06 52d7 96cb e002 c0a8 0103 0015 8032 3786 770c bd6b c9c9 5018 269c 1087 0000… 14 4500 0028 0003 4000 ff06 02fd 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5010 269c 59ba 0000 16 4500 0038 0004 4000 ff06 02ec 0101 0101 96cb e002 8032 0015 bd6b c9c9 3786 77ab 5018 269c d1c5 0000… 18 4500 0028 ffe0 4000 ef06 5375 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5010 269c 9a00 0000 20 4500 006c ffe1 4000 ef06 5330 96cb e002 c0a8 0103 0015 8032 3786 77ab bd6b c9d9 5018 269c b00f 0000… [all …]
|
| /src/crypto/openssl/crypto/ |
| H A D | indicator_core.c | 17 OSSL_INDICATOR_CALLBACK *cb; member 22 INDICATOR_CB *cb; in ossl_indicator_set_callback_new() local 24 cb = OPENSSL_zalloc(sizeof(*cb)); in ossl_indicator_set_callback_new() 25 return cb; in ossl_indicator_set_callback_new() 28 void ossl_indicator_set_callback_free(void *cb) in ossl_indicator_set_callback_free() argument 30 OPENSSL_free(cb); in ossl_indicator_set_callback_free() 39 OSSL_INDICATOR_CALLBACK *cb) in OSSL_INDICATOR_set_callback() argument 44 icb->cb = cb; in OSSL_INDICATOR_set_callback() 48 OSSL_INDICATOR_CALLBACK **cb) in OSSL_INDICATOR_get_callback() argument 52 if (cb != NULL) in OSSL_INDICATOR_get_callback() [all …]
|
| H A D | self_test_core.c | 17 OSSL_CALLBACK *cb; member 26 OSSL_CALLBACK *cb; member 52 void OSSL_SELF_TEST_set_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK *cb, in OSSL_SELF_TEST_set_callback() argument 58 stcb->cb = cb; in OSSL_SELF_TEST_set_callback() 63 void OSSL_SELF_TEST_get_callback(OSSL_LIB_CTX *libctx, OSSL_CALLBACK **cb, in OSSL_SELF_TEST_get_callback() argument 68 if (cb != NULL) in OSSL_SELF_TEST_get_callback() 69 *cb = (stcb != NULL ? stcb->cb : NULL); in OSSL_SELF_TEST_get_callback() 79 if (st->cb != NULL) { in self_test_setparams() 90 OSSL_SELF_TEST *OSSL_SELF_TEST_new(OSSL_CALLBACK *cb, void *cbarg) in OSSL_SELF_TEST_new() argument 97 ret->cb = cb; in OSSL_SELF_TEST_new() [all …]
|
| /src/contrib/unbound/util/ |
| H A D | ub_event.c | 129 static void (*NATIVE_BITS_CB(void (*cb)(int, short, void*)))(int, short, void*) in UB_EV_BITS_CB() 131 if(cb == comm_point_udp_callback) in UB_EV_BITS_CB() 133 else if(cb == comm_point_udp_ancil_callback) in UB_EV_BITS_CB() 135 else if(cb == comm_point_tcp_accept_callback) in UB_EV_BITS_CB() 137 else if(cb == comm_point_tcp_handle_callback) in UB_EV_BITS_CB() 139 else if(cb == comm_timer_callback) in UB_EV_BITS_CB() 141 else if(cb == comm_signal_callback) in UB_EV_BITS_CB() 143 else if(cb == comm_point_local_handle_callback) in UB_EV_BITS_CB() 145 else if(cb == comm_point_raw_handle_callback) in UB_EV_BITS_CB() 147 else if(cb == comm_point_http_handle_callback) in UB_EV_BITS_CB() [all …]
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_deadlock_detector2.cpp | 92 void MutexInit(DDCallback *cb, DDMutex *m); 93 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock); 94 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 96 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock); 97 void MutexDestroy(DDCallback *cb, DDMutex *m); 99 DDReport *GetReport(DDCallback *cb); 103 u32 allocateId(DDCallback *cb); 148 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit() argument 149 VPrintf(2, "#%llu: DD::MutexInit(%p)\n", cb->lt->ctx, m); in MutexInit() 168 u32 DD::allocateId(DDCallback *cb) { in allocateId() argument [all …]
|
| H A D | sanitizer_deadlock_detector1.cpp | 48 void MutexInit(DDCallback *cb, DDMutex *m) override; 49 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override; 50 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock, 52 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override; 53 void MutexDestroy(DDCallback *cb, DDMutex *m) override; 55 DDReport *GetReport(DDCallback *cb) override; 58 void ReportDeadlock(DDCallback *cb, DDMutex *m); 92 void DD::MutexInit(DDCallback *cb, DDMutex *m) { in MutexInit() argument 94 m->stk = cb->Unwind(); in MutexInit() 103 void DD::MutexBeforeLock(DDCallback *cb, in MutexBeforeLock() argument [all …]
|
| /src/sys/dev/cxgbe/nvmf/ |
| H A D | nvmf_che.c | 360 che_fbo(struct nvmf_che_command_buffer *cb) in che_fbo() argument 362 struct memdesc *mem = &cb->io.io_mem; in che_fbo() 380 che_npages(struct nvmf_che_command_buffer *cb) in che_npages() argument 382 return (howmany(che_fbo(cb) + cb->io.io_len, PAGE_SIZE)); in che_npages() 390 struct nvmf_che_command_buffer *cb; in che_alloc_command_buffer() local 392 cb = malloc(sizeof(*cb), M_NVMF_CHE, M_WAITOK); in che_alloc_command_buffer() 393 cb->qp = qp; in che_alloc_command_buffer() 394 cb->io = *io; in che_alloc_command_buffer() 395 cb->data_offset = data_offset; in che_alloc_command_buffer() 396 cb->data_len = data_len; in che_alloc_command_buffer() [all …]
|
| /src/sys/dev/nvmf/ |
| H A D | nvmf_tcp.c | 179 struct nvmf_tcp_command_buffer *cb; in tcp_alloc_command_buffer() local 181 cb = malloc(sizeof(*cb), M_NVMF_TCP, M_WAITOK); in tcp_alloc_command_buffer() 182 cb->qp = qp; in tcp_alloc_command_buffer() 183 cb->io = *io; in tcp_alloc_command_buffer() 184 cb->data_offset = data_offset; in tcp_alloc_command_buffer() 185 cb->data_len = data_len; in tcp_alloc_command_buffer() 186 cb->data_xfered = 0; in tcp_alloc_command_buffer() 187 refcount_init(&cb->refs, 1); in tcp_alloc_command_buffer() 188 cb->error = 0; in tcp_alloc_command_buffer() 189 cb->cid = cid; in tcp_alloc_command_buffer() [all …]
|
| /src/contrib/netbsd-tests/ipf/input/ |
| H A D | ni5 | 4 96cb e002 8032 0015 bd6b c9c8 0000 0000 9 4500 002c ffdd 4000 ef06 131e 96cb e002 16 96cb e002 8032 0015 bd6b c9c9 3786 76c5 21 4500 006f ffde 4000 ef06 12da 96cb e002 31 4500 0028 10cb 4000 ff06 328b c0a8 0103 32 96cb e002 8032 0015 bd6b c9c9 3786 770c 40 4500 00c7 ffdf 4000 ef06 1281 96cb e002 57 96cb e002 8032 0015 bd6b c9c9 3786 77ab 63 96cb e002 8032 0015 bd6b c9c9 3786 77ab 69 4500 0028 ffe0 4000 ef06 131f 96cb e002 [all …]
|
| /src/sys/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 566 print_pool_prop_cb(int prop, void *cb) in print_pool_prop_cb() argument 568 FILE *fp = cb; in print_pool_prop_cb() 589 print_vdev_prop_cb(int prop, void *cb) in print_vdev_prop_cb() argument 591 FILE *fp = cb; in print_vdev_prop_cb() 2410 export_cbdata_t *cb = data; in zpool_export_one() local 2416 if (cb->taskq != NULL) in zpool_export_one() 2417 (void) pthread_mutex_lock(&cb->mnttab_lock); in zpool_export_one() 2419 int retval = zpool_disable_datasets(zhp, cb->force); in zpool_export_one() 2421 if (cb->taskq != NULL) in zpool_export_one() 2422 (void) pthread_mutex_unlock(&cb->mnttab_lock); in zpool_export_one() [all …]
|
| /src/crypto/openssl/crypto/pem/ |
| H A D | pem_pk8.c | 24 pem_password_cb *cb, void *u, 31 pem_password_cb *cb, void *u, 43 pem_password_cb *cb, void *u) in PEM_write_bio_PKCS8PrivateKey_nid() argument 45 return do_pk8pkey(bp, x, 0, nid, NULL, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey_nid() 50 pem_password_cb *cb, void *u) in PEM_write_bio_PKCS8PrivateKey() argument 52 return do_pk8pkey(bp, x, 0, -1, enc, kstr, klen, cb, u, NULL); in PEM_write_bio_PKCS8PrivateKey() 57 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_bio() argument 59 return do_pk8pkey(bp, x, 1, -1, enc, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_bio() 64 pem_password_cb *cb, void *u) in i2d_PKCS8PrivateKey_nid_bio() argument 66 return do_pk8pkey(bp, x, 1, nid, NULL, kstr, klen, cb, u, NULL); in i2d_PKCS8PrivateKey_nid_bio() [all …]
|
| H A D | pem_pkey.c | 34 pem_password_cb *cb, void *u, in pem_read_bio_key_decoder() argument 53 if (cb == NULL) in pem_read_bio_key_decoder() 54 cb = PEM_def_callback; in pem_read_bio_key_decoder() 56 if (!OSSL_DECODER_CTX_set_pem_password_cb(dctx, cb, u)) in pem_read_bio_key_decoder() 100 pem_password_cb *cb, void *u, in pem_read_bio_key_legacy() argument 116 bp, cb, u)) { in pem_read_bio_key_legacy() 127 bp, cb, u)) { in pem_read_bio_key_legacy() 154 if (cb != NULL) in pem_read_bio_key_legacy() 155 klen = cb(psbuf, PEM_BUFSIZE, 0, u); in pem_read_bio_key_legacy() 215 pem_password_cb *cb, void *u, in pem_read_bio_key() argument [all …]
|
| /src/sys/dev/ocs_fc/ |
| H A D | ocs_els.h | 57 …ocs_send_plogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 58 …ocs_send_flogi(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 59 …ocs_send_fdisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 60 …*ocs_send_prli(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 61 …*ocs_send_prlo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 62 …*ocs_send_logo(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 63 …ocs_send_adisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 64 …ocs_send_pdisc(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb, void *cbarg); 65 extern ocs_io_t *ocs_send_scr(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… 66 extern ocs_io_t *ocs_send_rrq(ocs_node_t *node, uint32_t timeout_sec, uint32_t retries, els_cb_t cb… [all …]
|
| /src/crypto/krb5/src/plugins/preauth/test/ |
| H A D | kdctest.c | 73 krb5_kdcpreauth_callbacks cb, krb5_kdcpreauth_rock rock, in test_edata() argument 78 const krb5_keyblock *k = cb->client_keyblock(context, rock); in test_edata() 85 ret = cb->get_string(context, rock, "teststring", &attr); in test_edata() 103 ret = cb->set_cookie(context, rock, TEST_PA_TYPE, &d); in test_edata() 106 cb->free_string(context, rock, attr); in test_edata() 113 krb5_kdcpreauth_callbacks cb, krb5_kdcpreauth_rock rock, in test_verify() argument 124 ret = cb->get_string(context, rock, "err", &attr_err); in test_verify() 126 ret = cb->get_string(context, rock, "2rt", &attr_2rt); in test_verify() 128 ret = cb->get_string(context, rock, "fail2rt", &attr_fail2rt); in test_verify() 130 ret = cb->get_string(context, rock, "failopt", &attr_failopt); in test_verify() [all …]
|
| /src/crypto/openssl/crypto/bn/ |
| H A D | bn_prime.c | 28 int do_trial_division, BN_GENCB *cb); 101 int BN_GENCB_call(BN_GENCB *cb, int a, int b) in BN_GENCB_call() argument 104 if (!cb) in BN_GENCB_call() 106 switch (cb->ver) { in BN_GENCB_call() 109 if (!cb->cb.cb_1) in BN_GENCB_call() 111 cb->cb.cb_1(a, b, cb->arg); in BN_GENCB_call() 115 return cb->cb.cb_2(a, b, cb); in BN_GENCB_call() 124 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, in BN_generate_prime_ex2() argument 165 if (!BN_GENCB_call(cb, 0, c1++)) in BN_generate_prime_ex2() 170 i = bn_is_prime_int(ret, checks, ctx, 0, cb); in BN_generate_prime_ex2() [all …]
|
| /src/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_dma.c | 125 static void bcm_dma_cb_dump(struct bcm_dma_cb *cb); 133 struct bcm_dma_cb * cb; member 176 struct bcm_dma_cb *cb; in bcm_dma_reset() local 211 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_reset() 212 bzero(cb, sizeof(*cb)); in bcm_dma_reset() 213 cb->info = INFO_WAIT_RESP; in bcm_dma_reset() 305 ch->cb = cb_virt; in bcm_dma_init() 308 ch->cb->info = INFO_WAIT_RESP; in bcm_dma_init() 393 struct bcm_dma_cb *cb; in bcm_dma_setup_intr() local 406 cb = sc->sc_dma_ch[ch].cb; in bcm_dma_setup_intr() [all …]
|
| /src/crypto/krb5/src/util/profile/ |
| H A D | prof_parse.c | 479 static void output_quoted_string(char *str, void (*cb)(const char *,void *), in output_quoted_string() 485 cb("\"", data); in output_quoted_string() 487 cb("\"", data); in output_quoted_string() 494 cb("\\\\", data); in output_quoted_string() 497 cb("\\n", data); in output_quoted_string() 500 cb("\\t", data); in output_quoted_string() 503 cb("\\b", data); in output_quoted_string() 510 cb(buf, data); in output_quoted_string() 514 cb("\"", data); in output_quoted_string() 529 void (*cb)(const char *, void *), void *data) in dump_profile() [all …]
|
| /src/usr.sbin/bluetooth/btpand/ |
| H A D | event.h | 53 void (*cb)(int, short, void *); member 80 #define event_set(ev, fd, flags, cb, cbarg) \ argument 81 _event_set(__FILE__, __LINE__, ev, fd, flags, cb, cbarg) 87 #define evtimer_set(ev, cb, cbarg) \ argument 88 _event_set(__FILE__, __LINE__, ev, -1, 0, cb, cbarg) 94 void (*cb)(int, short, void *), void *cbarg) in _event_set() 97 file, line, ev, fd, flags, cb, cbarg); in _event_set() 102 __event_set(ev, fd, flags, cb, cbarg); in _event_set() 109 "timeout=%p", file, line, ev, ev->fd, ev->flags, ev->cb, in _event_add() 122 file, line, ev, ev->fd, ev->flags, ev->cb, ev->cbarg); in _event_del() [all …]
|
| /src/lib/libpfctl/ |
| H A D | libpfctl.c | 300 { .type = PF_C_COUNTER, .off = _OUT(counter), .cb = snl_attr_get_uint64 }, 301 { .type = PF_C_NAME, .off = _OUT(name), .cb = snl_attr_get_string }, 302 { .type = PF_C_ID, .off = _OUT(id), .cb = snl_attr_get_uint32 }, 358 { .cb = snl_attr_get_uint64_element }, 381 { .type = PF_GS_IFNAME, .off = _OUT(ifname), .arg_u32 = IFNAMSIZ, .cb = snl_attr_copy_string }, 382 { .type = PF_GS_RUNNING, .off = _OUT(running), .cb = snl_attr_get_bool }, 383 { .type = PF_GS_SINCE, .off = _OUT(since), .cb = snl_attr_get_uint32 }, 384 { .type = PF_GS_DEBUG, .off = _OUT(debug), .cb = snl_attr_get_uint32 }, 385 { .type = PF_GS_HOSTID, .off = _OUT(hostid), .cb = snl_attr_get_uint32 }, 386 { .type = PF_GS_STATES, .off = _OUT(states), .cb = snl_attr_get_uint32 }, [all …]
|