sop
uint16_t *bp, *sop;
sop = (uint16_t *)(void *)bufp->page;
if (PAIRFITS(sop, key, val))
putpair((char *)(void *)sop, key, val);
sop s;
sop s;
sop *strip; /* malloced strip */
static void doemit(struct parse *p, sop op, size_t opnd);
static void doinsert(struct parse *p, sop op, size_t opnd, sopno pos);
static void dofwd(struct parse *p, sopno pos, sop value);
static int altoffset(sop *scan, int offset);
doemit(struct parse *p, sop op, size_t opnd)
doinsert(struct parse *p, sop op, size_t opnd, sopno pos)
sop s;
dofwd(struct parse *p, sopno pos, sop value)
sop *sp;
sop *scan;
sop *start = NULL;
sop *newstart = NULL;
sop s;
#define ASTERN(sop, pos) EMIT(sop, HERE()-pos)
altoffset(sop *scan, int offset)
sop s;
sop *scan;
sop s;
sop *strip; /* malloced area for strip */
int rv, lop, sop;
sop = (flags & ATA_READ) ? BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE;
data_dmamap->dm_mapsize, sop);
u_int sop;
sop = txr->vxtxr_next;
txb = &txr->vxtxr_txbuf[sop];
if (rxcd->sop) {
struct vmxnet3_txdesc *txd, *sop;
sop = &txr->vxtxr_txd[txr->vxtxr_head];
sop->vtag_mode = 1;
sop->vtag = vlan_get_tag(m);
sop->offload_mode = VMXNET3_OM_TSO;
sop->hlen = start;
sop->offload_pos = m->m_pkthdr.segsz;
sop->offload_mode = VMXNET3_OM_CSUM;
sop->hlen = start;
sop->offload_pos = csum_start;
sop->gen ^= 1;
uint32_t sop:1; /* Start of packet */
fd_getsock1(unsigned fd, struct socket **sop, file_t **fp)
*sop = (*fp)->f_socket;
fd_getsock(unsigned fd, struct socket **sop)
return fd_getsock1(fd, sop, &fp);
fsocreate(int domain, struct socket **sop, int type, int proto, int *fdout,
if (sop != NULL) {
*sop = so;
wg_socreate(struct wg_softc *wg, int af, struct socket **sop)
*sop = so;
cryptodev_session(struct fcrypt *fcr, struct session_op *sop)
DPRINTF("cipher=%d, mac=%d\n", sop->cipher, sop->mac);
switch (sop->cipher) {
DPRINTF("Invalid cipher %d\n", sop->cipher);
switch (sop->comp_alg) {
DPRINTF("Invalid compression alg %d\n", sop->comp_alg);
switch (sop->mac) {
if (sop->mackeylen == auth_hash_hmac_sha2_256.keysize) {
} else if (sop->mackeylen == auth_hash_hmac_sha2_384.keysize) {
} else if (sop->mackeylen == auth_hash_hmac_sha2_512.keysize) {
DPRINTF("Invalid mackeylen %d\n", sop->mackeylen);
DPRINTF("Invalid mac %d\n", sop->mac);
crie.cri_klen = sop->keylen * 8;
if (sop->keylen > txform->maxkey ||
sop->keylen < txform->minkey) {
sop->keylen, txform->minkey, txform->maxkey);
if ((error = copyin(sop->key, crie.cri_key, crie.cri_klen / 8)))
cria.cri_klen = sop->mackeylen * 8;
if (sop->mackeylen != thash->keysize) {
sop->mackeylen, thash->keysize);
if ((error = copyin(sop->mackey, cria.cri_key,
cria.cri_key, cria.cri_klen, (txform ? sop->cipher : 0), sop->mac,
(tcomp ? sop->comp_alg : 0), txform, thash, tcomp);
sop->ses = cse->ses;
struct session_op *sop;
sop = (struct session_op *)data;
error = cryptodev_session(fcr, sop);
DPRINTF("create(%#x) error = %d\n", sop->ses, error);
struct session_op sop;
sop.cipher = osop->cipher;
sop.mac = osop->mac;
sop.comp_alg = 0;
sop.keylen = osop->keylen;
sop.key = osop->key;
sop.mackeylen = osop->mackeylen;
sop.mackey = osop->mackey;
res = cryptodev_session(fcr, &sop);
osop->ses = sop.ses;
sop *s;
sop opnd;