Lines Matching refs:sks
1005 pf_state_key_attach(struct pf_state_key *skw, struct pf_state_key *sks,
1026 if (skw == sks) {
1030 khs = &V_pf_keyhash[pf_hashkey(sks)];
1144 if (sks == skw) {
1147 sks = NULL;
1149 } else if (sks != NULL) {
1153 sk = sks;
1156 sks = NULL;
1173 struct pf_state_key *sks = s->key[PF_SK_STACK];
1176 if (sks != NULL) {
1177 kh = &V_pf_keyhash[pf_hashkey(sks)];
1184 if (sks == s->key[PF_SK_WIRE]) {
1267 struct pf_state_key *skw, struct pf_state_key *sks, struct pf_state *s)
1273 KASSERT(TAILQ_EMPTY(&sks->states[0]) && TAILQ_EMPTY(&sks->states[1]),
1274 ("%s: sks not pristine", __func__));
1292 if ((error = pf_state_key_attach(skw, sks, s)) != 0)
1933 struct pf_state_key *skw, *sks;
1938 sks = sksp ? sksp : (s ? s->key[PF_SK_STACK] : NULL);
1939 proto = skw ? skw->proto : (sks ? sks->proto : 0);
1979 if (sks) {
1981 if (sks != skw) {
1982 pf_print_host(&sks->addr[0], sks->port[0], sks->af);
1984 pf_print_host(&sks->addr[1], sks->port[1], sks->af);