Home | History | Annotate | Download | only in net

Lines Matching defs:sk

250 	struct pf_state_key *sk = NULL;
289 if ((sk = pf_alloc_state_key(st)) == NULL) {
302 pool_put(&pf_state_key_pl, sk);
313 pf_state_host_ntoh(&sp->lan, &sk->lan);
314 pf_state_host_ntoh(&sp->gwy, &sk->gwy);
315 pf_state_host_ntoh(&sp->ext, &sk->ext);
324 sk->af = sp->af;
325 sk->proto = sp->proto;
326 sk->direction = sp->direction;
357 struct pf_state_key *sk;
454 for (sk = RB_MIN(pf_state_tree_lan_ext,
455 &pf_statetbl_lan_ext); sk; sk = nextsk) {
457 &pf_statetbl_lan_ext, sk);
458 TAILQ_FOREACH(st, &sk->states, next) {
539 sk = st->state_key;
541 if (sk->proto == IPPROTO_TCP) {
676 sk = st->state_key;
678 if (sk->proto == IPPROTO_TCP) {
1129 struct pf_state_key *sk = st->state_key;
1215 pf_state_host_hton(&sk->lan, &sp->lan);
1216 pf_state_host_hton(&sk->gwy, &sp->gwy);
1217 pf_state_host_hton(&sk->ext, &sp->ext);
1234 sp->af = sk->af;
1235 sp->proto = sk->proto;
1236 sp->direction = sk->direction;