Searched refs:nk (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-pfsync.c381 struct pfsync_state_key *sk, *nk; local
388 nk = &s->key[PF_SK_WIRE];
390 sk->port[0] = nk->port[0];
395 nk = &s->key[PF_SK_STACK];
397 sk->port[1] = nk->port[1];
402 print_host(ndo, &nk->addr[1], nk->port[1], s->af, NULL);
403 if (PF_ANEQ(&nk->addr[1], &sk->addr[1], s->af) ||
404 nk->port[1] != sk->port[1]) {
413 print_host(ndo, &nk
[all...]
/freebsd-11-stable/sbin/pfctl/
H A Dpf_print_state.c213 struct pfsync_state_key *key, *sk, *nk; local
229 nk = &key[PF_SK_WIRE];
231 sk->port[0] = nk->port[0];
236 nk = &key[PF_SK_STACK];
238 sk->port[1] = nk->port[1];
246 print_host(&nk->addr[1], nk->port[1], s->af, opts);
247 if (PF_ANEQ(&nk->addr[1], &sk->addr[1], s->af) ||
248 nk->port[1] != sk->port[1]) {
257 print_host(&nk
[all...]
/freebsd-11-stable/contrib/lua/src/
H A Dltable.h15 #define gnext(n) ((n)->i_key.nk.next)
25 #define wgkey(n) (&(n)->i_key.nk)
H A Dlparser.h119 int nk; /* number of elements in 'k' */ member in struct:FuncState
H A Dlobject.h479 } nk; member in union:TKey
487 k_->nk.value_ = io_->value_; k_->nk.tt_ = io_->tt_; \
H A Dlcode.c436 if (k < fs->nk && ttype(&f->k[k]) == ttype(v) &&
442 k = fs->nk;
449 fs->nk++;
H A Dlparser.c538 fs->nk = 0;
562 luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue);
563 f->sizek = fs->nk;
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c3236 struct pf_state_key *sk = NULL, *nk = NULL; local
3310 &nk, saddr, daddr, sport, dport, anchor_stack)) != NULL) {
3312 KASSERT(nk != NULL, ("%s: null nk", __func__));
3322 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) ||
3323 nk->port[pd->sidx] != sport) {
3325 &th->th_sum, &nk->addr[pd->sidx],
3326 nk->port[pd->sidx], 0, af);
3331 if (PF_ANEQ(daddr, &nk->addr[pd->didx], af) ||
3332 nk
3598 pf_create_state(struct pf_rule *r, struct pf_rule *nr, struct pf_rule *a, struct pf_pdesc *pd, struct pf_src_node *nsn, struct pf_state_key *nk, struct pf_state_key *sk, struct mbuf *m, int off, u_int16_t sport, u_int16_t dport, int *rewrite, struct pfi_kif *kif, struct pf_state **sm, int tag, u_int16_t bproto_sum, u_int16_t bip_sum, int hdrlen) argument
4488 struct pf_state_key *nk = (*state)->key[pd->didx]; local
4559 struct pf_state_key *nk = (*state)->key[pd->didx]; local
4645 struct pf_state_key *nk = (*state)->key[pd->didx]; local
4906 struct pf_state_key *nk = local
4978 struct pf_state_key *nk = local
5045 struct pf_state_key *nk = local
5097 struct pf_state_key *nk = local
5140 struct pf_state_key *nk = local
5228 struct pf_state_key *nk = (*state)->key[pd->didx]; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlparser.h105 int nk; /* number of elements in `k' */ member in struct:FuncState
H A Dltable.h16 #define gnext(n) ((n)->i_key.nk.next)
H A Dltable.c451 lua_Number nk = cast_num(key); local
452 Node *n = hashnum(t, nk);
454 if (ttisnumber(gkey(n)) && luai_numeq(nvalue(gkey(n)), nk))
H A Dlcode.c305 k = fs->nk;
312 fs->nk++;
533 if (fs->nk <= MAXINDEXRK) { /* constant fits in RK operand? */
H A Dlparser.c536 fs->nk = 0;
564 luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue);
565 f->sizek = fs->nk;
H A Dlobject.h548 } nk; member in union:TKey
/freebsd-11-stable/contrib/groff/src/libs/libbib/
H A Dlinear.cpp365 int nk = 0; local
370 nk++;
371 if (nk == 0)
373 keys = new bmpattern*[nk];
385 assert(nkeys <= nk);
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_pipe.c186 u_int k, lim = txkring->nkr_num_slots - 1, nk; local
208 for (k = txkring->nr_hwcur, nk = lim + 1, complete = 0; m;
209 m--, k = nm_next(k, lim), nk = (complete ? k : nk)) {
226 if (likely(nk <= lim)) {
228 rxkring->pipe_tail = nk; /* only publish complete packets */
/freebsd-11-stable/contrib/unbound/dnscrypt/
H A Ddnscrypt.c1071 struct nonce_cache_key* nk = (struct nonce_cache_key*)k; local
1073 + lock_get_mem(&nk->entry.lock);
1074 (void)nk; /* otherwise ssk is unused if no threading, or fixed locksize */
1099 struct nonce_cache_key* nk = (struct nonce_cache_key*)k; local
1100 lock_rw_destroy(&nk->entry.lock);
1101 free(nk);
/freebsd-11-stable/contrib/groff/src/utils/tfmtodit/
H A Dtfmtodit.cpp91 int nk; member in class:tfm
317 nk = read2(ptr);
320 if (6 + lh + (ec - bc + 1) + nw + nh + nd + ni + nl + nk + ne + np != lf) {
336 kern = new int[nk];
366 for (i = 0; i < nk; i++)
/freebsd-11-stable/contrib/libucl/src/
H A Ducl_util.c2390 const char *nk = NULL; local
2402 nk = va_arg (ap, const char *);
2404 if (nk == NULL) {
2408 ret = ucl_object_lookup_len (obj, nk, strlen (nk));
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp591 DeclarationName::NameKind nk = (E->getDecl()->getDeclName().getNameKind()); local
595 nk == DeclarationName::Identifier &&

Completed in 186 milliseconds