Lines Matching refs:bfd
409 ret = setsockopt(actx->bfd, SOL_ALG, ALG_SET_KEY, key, klen);
424 actx->bfd = actx->sfd = -1;
431 actx->bfd = socket(AF_ALG, SOCK_SEQPACKET, 0);
432 if (actx->bfd == -1) {
438 r = bind(actx->bfd, (struct sockaddr *)&sa, sizeof(sa));
445 actx->sfd = accept(actx->bfd, NULL, 0);
455 if (actx->bfd >= 0)
456 close(actx->bfd);
459 actx->bfd = actx->sfd = -1;
620 close(actx->bfd);
690 close(actx->bfd);