Home
last modified time | relevance | path

Searched refs:sockp (Results 1 – 4 of 4) sorted by relevance

/dragonfly/lib/libc/rpc/
H A Drpc_soc.c85 int *sockp, u_int sendsz, u_int recvsz, char *tp) in clnt_com_create() argument
89 int fd = *sockp; in clnt_com_create()
134 *sockp = fd; in clnt_com_create()
170 struct timeval wait, int *sockp) in clntudp_create() argument
173 return clntudp_bufcreate(raddr, program, version, wait, sockp, in clntudp_create()
419 if (*sockp < 0) { in clntunix_create()
420 *sockp = _socket(AF_LOCAL, SOCK_STREAM, 0); in clntunix_create()
422 if ((*sockp < 0) || (_connect(*sockp, in clntunix_create()
426 if (*sockp != -1) in clntunix_create()
427 _close(*sockp); in clntunix_create()
[all …]
/dragonfly/sys/net/
H A Dbpf.c179 sockp->sa_family = AF_INET; in bpf_movein()
184 sockp->sa_family = AF_UNSPEC; in bpf_movein()
191 sockp->sa_family = AF_UNSPEC; in bpf_movein()
201 sockp->sa_family = AF_UNSPEC; in bpf_movein()
206 sockp->sa_family = AF_UNSPEC; in bpf_movein()
211 sockp->sa_family = AF_IEEE80211; in bpf_movein()
216 sockp->sa_family = AF_IEEE80211; in bpf_movein()
217 sockp->sa_len = 12; /* XXX != 0 */ in bpf_movein()
254 if (sockp->sa_family == AF_IEEE80211) { in bpf_movein()
266 if (hlen > sizeof(sockp->sa_data)) { in bpf_movein()
[all …]
/dragonfly/usr.sbin/ppp/
H A Dtcp.c186 struct sockaddr *sockp = (struct sockaddr *)&sock; in tcp_Create() local
190 if (getpeername(p->fd, sockp, &sz) != 0 || in tcp_Create()
H A Dudp.c299 struct sockaddr *sockp = (struct sockaddr *)&sock; in udp_Create() local
307 if (getpeername(p->fd, sockp, &sz) == 0) { in udp_Create()