IPSP_DIRECTION_OUT
flowa->flow_dir = IPSP_DIRECTION_OUT;
csa->csa_dir = IPSP_DIRECTION_OUT;
IPSP_DIRECTION_OUT : IPSP_DIRECTION_IN;
IPSP_DIRECTION_OUT : IPSP_DIRECTION_IN;
if (flow->flow_dir == IPSP_DIRECTION_OUT &&
if (flow->flow_dir == IPSP_DIRECTION_OUT) {
flow->flow_dir = IPSP_DIRECTION_OUT;
sa->csa_dir == IPSP_DIRECTION_OUT) ?
} else if (sa->csa_dir == IPSP_DIRECTION_OUT) {
case IPSP_DIRECTION_OUT:
case IPSP_DIRECTION_OUT:
direction = IPSP_DIRECTION_OUT;
case IPSP_DIRECTION_OUT:
IPSP_DIRECTION_IN : IPSP_DIRECTION_OUT;
IPSP_DIRECTION_IN : IPSP_DIRECTION_OUT;
ingress ? IPSP_DIRECTION_IN : IPSP_DIRECTION_OUT;
error = ipsp_spd_lookup(m, af, hlen, IPSP_DIRECTION_OUT,
if (tdb->tdb_iface_dir != IPSP_DIRECTION_OUT)
(sab->sadb_protocol_direction != IPSP_DIRECTION_OUT)) {
if (dir == IPSP_DIRECTION_OUT)
if (dir == IPSP_DIRECTION_OUT)
if (dir == IPSP_DIRECTION_OUT)
if (dir == IPSP_DIRECTION_OUT)
error = ipsp_spd_lookup(m, AF_INET, hlen, IPSP_DIRECTION_OUT,
if (direction == IPSP_DIRECTION_OUT) {
IPSP_DIRECTION_OUT, NULL, seclevel, &tdb, NULL);
if (pfkey_flow(pfkey_fd, satype, SADB_X_ADDFLOW, IPSP_DIRECTION_OUT,
if (pfkey_flow(pfkey_fd, satype, SADB_X_ADDFLOW, IPSP_DIRECTION_OUT,
if (pfkey_flow(pfkey_fd, satype, SADB_X_DELFLOW, IPSP_DIRECTION_OUT,
if (pfkey_flow(pfkey_fd, satype, SADB_X_DELFLOW, IPSP_DIRECTION_OUT,