sfd = socket(sk->family, SOCK_DGRAM, 0); *(sk->varp) = sfd;
sfd = socket(af->af, SOCK_DGRAM, 0); af->fd = sfd;
int sockets_open(int family){	struct fam_sock *sk;	int sfd = -1; 	static int force = -1; 	if (force < 0) {		force = 0;   		if (kernel_version() < KRELEASE(2,1,0))			force = 1;  		if (access("/proc",R_OK))			force = 1;	}	for (sk = &sockets[0]; sk->varp; sk++) {		if (family && family != sk->family)			continue; 		if (*(sk->varp) != -1) {			sfd = *(sk->varp);			continue;		}		/* Check some /proc file first to not stress kmod */ 		if (!force && sk->flag_file) { 			if (access(sk->flag_file, R_OK))				continue; 		}		sfd = socket(sk->family, SOCK_DGRAM, 0);		*(sk->varp) = sfd; 	} 	if (sfd < 0)  		fprintf(stderr, _("No usable address families found.\n"));	return sfd;}