Lines Matching defs:sfd
246 int sfd = socket(PF_POLICY, SOCK_RAW, PF_POLICY_V1);
252 if (sfd < 0) {
295 cnt = write(sfd, sync_req_buf, req_len);
305 cnt = read(sfd, sync_req_buf, req_len);
326 (void) close(sfd);
332 int sfd = socket(PF_POLICY, SOCK_RAW, PF_POLICY_V1);
345 if (sfd < 0) {
354 cnt = write(sfd, &msg, sizeof (msg));
364 cnt = read(sfd, reply_buf, sizeof (reply_buf));
375 (void) close(sfd);