Home
last modified time | relevance | path

Searched refs:osk (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/net/ax25/
Daf_ax25.c908 struct sock *ax25_make_new(struct sock *osk, struct ax25_dev *ax25_dev) in ax25_make_new() argument
921 switch (osk->type) { in ax25_make_new()
935 sk->type = osk->type; in ax25_make_new()
936 sk->socket = osk->socket; in ax25_make_new()
937 sk->priority = osk->priority; in ax25_make_new()
938 sk->protocol = osk->protocol; in ax25_make_new()
939 sk->rcvbuf = osk->rcvbuf; in ax25_make_new()
940 sk->sndbuf = osk->sndbuf; in ax25_make_new()
941 sk->debug = osk->debug; in ax25_make_new()
943 sk->sleep = osk->sleep; in ax25_make_new()
[all …]
/linux-2.4.37.9/net/netrom/
Daf_netrom.c505 static struct sock *nr_make_new(struct sock *osk) in nr_make_new() argument
510 if (osk->type != SOCK_SEQPACKET) in nr_make_new()
520 sk->type = osk->type; in nr_make_new()
521 sk->socket = osk->socket; in nr_make_new()
522 sk->priority = osk->priority; in nr_make_new()
523 sk->protocol = osk->protocol; in nr_make_new()
524 sk->rcvbuf = osk->rcvbuf; in nr_make_new()
525 sk->sndbuf = osk->sndbuf; in nr_make_new()
526 sk->debug = osk->debug; in nr_make_new()
528 sk->sleep = osk->sleep; in nr_make_new()
[all …]
/linux-2.4.37.9/net/x25/
Daf_x25.c502 static struct sock *x25_make_new(struct sock *osk) in x25_make_new() argument
507 if (osk->type != SOCK_SEQPACKET) in x25_make_new()
515 sk->type = osk->type; in x25_make_new()
516 sk->socket = osk->socket; in x25_make_new()
517 sk->priority = osk->priority; in x25_make_new()
518 sk->protocol = osk->protocol; in x25_make_new()
519 sk->rcvbuf = osk->rcvbuf; in x25_make_new()
520 sk->sndbuf = osk->sndbuf; in x25_make_new()
521 sk->debug = osk->debug; in x25_make_new()
523 sk->sleep = osk->sleep; in x25_make_new()
[all …]
/linux-2.4.37.9/net/rose/
Daf_rose.c580 static struct sock *rose_make_new(struct sock *osk) in rose_make_new() argument
585 if (osk->type != SOCK_SEQPACKET) in rose_make_new()
601 sk->type = osk->type; in rose_make_new()
602 sk->socket = osk->socket; in rose_make_new()
603 sk->priority = osk->priority; in rose_make_new()
604 sk->protocol = osk->protocol; in rose_make_new()
605 sk->rcvbuf = osk->rcvbuf; in rose_make_new()
606 sk->sndbuf = osk->sndbuf; in rose_make_new()
607 sk->debug = osk->debug; in rose_make_new()
609 sk->sleep = osk->sleep; in rose_make_new()
[all …]
/linux-2.4.37.9/net/netlink/
Daf_netlink.c289 struct sock *osk; in netlink_insert() local
295 for (osk = *head; osk; osk = osk->next) { in netlink_insert()
296 if (osk->protinfo.af_netlink->pid == pid) in netlink_insert()
300 if (osk) in netlink_insert()
430 struct sock *osk; in netlink_autobind() local
438 for (osk = *nl_pid_hashfn(hash, pid); osk; osk = osk->next) { in netlink_autobind()
439 if (osk->protinfo.af_netlink->pid == pid) { in netlink_autobind()
/linux-2.4.37.9/net/wanrouter/
Daf_wanpipe.c458 static struct sock *wanpipe_make_new(struct sock *osk) in wanpipe_make_new() argument
462 if (osk->type != SOCK_RAW) in wanpipe_make_new()
468 sk->type = osk->type; in wanpipe_make_new()
469 sk->socket = osk->socket; in wanpipe_make_new()
470 sk->priority = osk->priority; in wanpipe_make_new()
471 sk->protocol = osk->protocol; in wanpipe_make_new()
472 sk->num = osk->num; in wanpipe_make_new()
473 sk->rcvbuf = osk->rcvbuf; in wanpipe_make_new()
474 sk->sndbuf = osk->sndbuf; in wanpipe_make_new()
475 sk->debug = osk->debug; in wanpipe_make_new()
[all …]
/linux-2.4.37.9/net/unix/
Daf_unix.c140 static inline int unix_our_peer(unix_socket *sk, unix_socket *osk) in unix_our_peer() argument
142 return unix_peer(osk) == sk; in unix_our_peer()
145 static inline int unix_may_send(unix_socket *sk, unix_socket *osk) in unix_may_send() argument
147 return (unix_peer(osk) == NULL || unix_our_peer(sk, osk)); in unix_may_send()