Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 114) sorted by relevance

12345

/linux-2.4.37.9/drivers/pcmcia/
Dau1000_generic.c262 static int au1000_pcmcia_init(unsigned int sock) { return 0; } in au1000_pcmcia_init()
264 static int au1000_pcmcia_suspend(unsigned int sock) in au1000_pcmcia_suspend()
349 au1000_pcmcia_register_callback(unsigned int sock, in au1000_pcmcia_register_callback()
382 static int au1000_pcmcia_inquire_socket(unsigned int sock, socket_cap_t *cap) in au1000_pcmcia_inquire_socket()
427 au1000_pcmcia_get_status(unsigned int sock, unsigned int *status) in au1000_pcmcia_get_status()
474 au1000_pcmcia_get_socket(unsigned int sock, socket_state_t *state) in au1000_pcmcia_get_socket()
482 au1000_pcmcia_set_socket(unsigned int sock, socket_state_t *state) in au1000_pcmcia_set_socket()
521 au1000_pcmcia_get_io_map(unsigned int sock, struct pccard_io_map *map) in au1000_pcmcia_get_io_map()
535 au1000_pcmcia_set_io_map(unsigned int sock, struct pccard_io_map *map) in au1000_pcmcia_set_io_map()
568 au1000_pcmcia_get_mem_map(unsigned int sock, struct pccard_mem_map *map) in au1000_pcmcia_get_mem_map()
[all …]
Dpci_socket.c46 static int pci_init_socket(unsigned int sock) in pci_init_socket()
55 static int pci_suspend_socket(unsigned int sock) in pci_suspend_socket()
64 static int pci_register_callback(unsigned int sock, void (*handler)(void *, unsigned int), void * i… in pci_register_callback()
77 static int pci_inquire_socket(unsigned int sock, socket_cap_t *cap) in pci_inquire_socket()
85 static int pci_get_status(unsigned int sock, unsigned int *value) in pci_get_status()
95 static int pci_get_socket(unsigned int sock, socket_state_t *state) in pci_get_socket()
104 static int pci_set_socket(unsigned int sock, socket_state_t *state) in pci_set_socket()
113 static int pci_get_io_map(unsigned int sock, struct pccard_io_map *io) in pci_get_io_map()
122 static int pci_set_io_map(unsigned int sock, struct pccard_io_map *io) in pci_set_io_map()
131 static int pci_get_mem_map(unsigned int sock, struct pccard_mem_map *mem) in pci_get_mem_map()
[all …]
Dsa1100_generic.c91 sa1100_pcmcia_state_to_config(unsigned int sock, socket_state_t *state) in sa1100_pcmcia_state_to_config()
115 static int sa1100_pcmcia_init(unsigned int sock) in sa1100_pcmcia_init()
141 static int sa1100_pcmcia_suspend(unsigned int sock) in sa1100_pcmcia_suspend()
314 sa1100_pcmcia_register_callback(unsigned int sock, in sa1100_pcmcia_register_callback()
366 sa1100_pcmcia_inquire_socket(unsigned int sock, socket_cap_t *cap) in sa1100_pcmcia_inquire_socket()
404 sa1100_pcmcia_get_status(unsigned int sock, unsigned int *status) in sa1100_pcmcia_get_status()
470 sa1100_pcmcia_get_socket(unsigned int sock, socket_state_t *state) in sa1100_pcmcia_get_socket()
492 sa1100_pcmcia_set_socket(unsigned int sock, socket_state_t *state) in sa1100_pcmcia_set_socket()
537 sa1100_pcmcia_get_io_map(unsigned int sock, struct pccard_io_map *map) in sa1100_pcmcia_get_io_map()
563 sa1100_pcmcia_set_io_map(unsigned int sock, struct pccard_io_map *map) in sa1100_pcmcia_set_io_map()
[all …]
Dsa1100.h65 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
70 #define MECR_GET(mecr, sock, shift, mask) \ argument
74 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
77 #define MECR_BSIO_GET(mecr, sock) \ argument
80 #define MECR_BSA_SET(mecr, sock, bs) \ argument
83 #define MECR_BSA_GET(mecr, sock) \ argument
86 #define MECR_BSM_SET(mecr, sock, bs) \ argument
89 #define MECR_BSM_GET(mecr, sock) \ argument
92 #define MECR_FAST_SET(mecr, sock, fast) \ argument
95 #define MECR_FAST_GET(mecr, sock) \ argument
Di82365.c233 static u_char i365_get(u_short sock, u_short reg) in i365_get()
247 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set()
259 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset()
266 static void i365_bclr(u_short sock, u_short reg, u_char mask) in i365_bclr()
273 static void i365_bflip(u_short sock, u_short reg, u_char mask, int b) in i365_bflip()
283 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_pair()
291 static void i365_set_pair(u_short sock, u_short reg, u_short data) in i365_set_pair()
504 static u_int __init test_irq(u_short sock, int irq) in test_irq()
532 static u_int __init isa_scan(u_short sock, u_int mask0) in isa_scan()
592 static int __init identify(u_short port, u_short sock) in identify()
[all …]
Di82092.c472 static void set_bridge_state(int sock) in set_bridge_state()
509 static int i82092aa_suspend(unsigned int sock) in i82092aa_suspend()
518 static int i82092aa_register_callback(unsigned int sock, void (*handler)(void *, unsigned int), voi… in i82092aa_register_callback()
532 static int i82092aa_inquire_socket(unsigned int sock, socket_cap_t *cap) in i82092aa_inquire_socket()
541 static int i82092aa_get_status(unsigned int sock, u_int *value) in i82092aa_get_status()
583 static int i82092aa_get_socket(unsigned int sock, socket_state_t *state) in i82092aa_get_socket()
654 static int i82092aa_set_socket(unsigned int sock, socket_state_t *state) in i82092aa_set_socket()
750 static int i82092aa_get_io_map(unsigned int sock, struct pccard_io_map *io) in i82092aa_get_io_map()
778 static int i82092aa_set_io_map(unsigned sock, struct pccard_io_map *io) in i82092aa_set_io_map()
821 static int i82092aa_get_mem_map(unsigned sock, struct pccard_mem_map *mem) in i82092aa_get_mem_map()
[all …]
Dhd64465_ss.c172 hs_socket_t *sock; member
302 u_int sock = hs_sockno(sp); in hs_set_voltages() local
360 static int hs_init(unsigned int sock) in hs_init()
376 static int hs_suspend(unsigned int sock) in hs_suspend()
387 static int hs_register_callback(unsigned int sock, in hs_register_callback()
405 static int hs_inquire_socket(unsigned int sock, socket_cap_t *cap) in hs_inquire_socket()
415 static int hs_get_status(unsigned int sock, u_int *value) in hs_get_status()
479 static int hs_get_socket(unsigned int sock, socket_state_t *state) in hs_get_socket()
491 static int hs_set_socket(unsigned int sock, socket_state_t *state) in hs_set_socket()
605 static int hs_get_io_map(unsigned int sock, struct pccard_io_map *io) in hs_get_io_map()
[all …]
Dvrc4173_cardu.c149 static int cardu_register_callback(unsigned int sock, in cardu_register_callback()
166 static int cardu_inquire_socket(unsigned int sock, socket_cap_t *cap) in cardu_inquire_socket()
175 static int cardu_get_status(unsigned int sock, u_int *value) in cardu_get_status()
235 static int cardu_get_socket(unsigned int sock, socket_state_t *state) in cardu_get_socket()
278 static int cardu_set_socket(unsigned int sock, socket_state_t *state) in cardu_set_socket()
300 static int cardu_get_io_map(unsigned int sock, struct pccard_io_map *io) in cardu_get_io_map()
324 static int cardu_set_io_map(unsigned int sock, struct pccard_io_map *io) in cardu_set_io_map()
357 static int cardu_get_mem_map(unsigned int sock, struct pccard_mem_map *mem) in cardu_get_mem_map()
391 static int cardu_set_mem_map(unsigned int sock, struct pccard_mem_map *mem) in cardu_set_mem_map()
435 static void cardu_proc_setup(unsigned int sock, struct proc_dir_entry *base) in cardu_proc_setup()
/linux-2.4.37.9/include/net/
Dsock.h557 struct sock { struct
566 struct sock *next; argument
567 struct sock **pprev; argument
568 struct sock *bind_next; argument
569 struct sock **bind_pprev; argument
580 socket_lock_t lock; /* Synchronizer... */ argument
596 struct sock *prev; argument
620 struct sock *pair; argument
626 struct {
629 } backlog;
[all …]
/linux-2.4.37.9/net/ipv4/
Daf_inet.c236 int inet_setsockopt(struct socket *sock, int level, int optname, in inet_setsockopt()
252 int inet_getsockopt(struct socket *sock, int level, int optname, in inet_getsockopt()
283 int inet_listen(struct socket *sock, int backlog) in inet_listen()
319 static int inet_create(struct socket *sock, int protocol) in inet_create()
444 int inet_release(struct socket *sock) in inet_release()
473 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in inet_bind()
549 int inet_dgram_connect(struct socket *sock, struct sockaddr * uaddr, in inet_dgram_connect()
592 int inet_stream_connect(struct socket *sock, struct sockaddr * uaddr, in inet_stream_connect()
678 int inet_accept(struct socket *sock, struct socket *newsock, int flags) in inet_accept()
706 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname()
[all …]
/linux-2.4.37.9/net/khttpd/
Dmisc.c60 static void ReadRest(struct socket *sock) in ReadRest()
145 int SendBuffer(struct socket *sock, const char *Buffer,const size_t Length) in SendBuffer()
174 int SendBuffer_async(struct socket *sock, const char *Buffer,const size_t Length) in SendBuffer_async()
222 void Send403(struct socket *sock) in Send403()
229 void Send304(struct socket *sock) in Send304()
236 void Send50x(struct socket *sock) in Send50x()
/linux-2.4.37.9/net/atm/
Dpvc.c22 static int pvc_shutdown(struct socket *sock,int how) in pvc_shutdown()
28 static int pvc_bind(struct socket *sock,struct sockaddr *sockaddr, in pvc_bind()
57 static int pvc_connect(struct socket *sock,struct sockaddr *sockaddr, in pvc_connect()
63 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
76 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
89 static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr, in pvc_getname()
128 static int pvc_create(struct socket *sock,int protocol) in pvc_create()
Dsvc.c55 static int svc_shutdown(struct socket *sock,int how) in svc_shutdown()
90 static int svc_release(struct socket *sock) in svc_release()
111 static int svc_bind(struct socket *sock,struct sockaddr *sockaddr, in svc_bind()
171 static int svc_connect(struct socket *sock,struct sockaddr *sockaddr, in svc_connect()
307 static int svc_listen(struct socket *sock,int backlog) in svc_listen()
346 static int svc_accept(struct socket *sock,struct socket *newsock,int flags) in svc_accept()
437 static int svc_getname(struct socket *sock,struct sockaddr *sockaddr, in svc_getname()
468 static int svc_setsockopt(struct socket *sock,int level,int optname, in svc_setsockopt()
492 static int svc_getsockopt(struct socket *sock,int level,int optname, in svc_getsockopt()
543 static int svc_create(struct socket *sock,int protocol) in svc_create()
/linux-2.4.37.9/net/
Dsocket.c328 int sock_map_fd(struct socket *sock) in sock_map_fd()
398 struct socket *sock; in sockfd_lookup() local
421 extern __inline__ void sockfd_put(struct socket *sock) in sockfd_put()
437 struct socket * sock; in sock_alloc() local
484 void sock_release(struct socket *sock) in sock_release()
500 int sock_sendmsg(struct socket *sock, struct msghdr *msg, int size) in sock_sendmsg()
513 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) in sock_recvmsg()
535 struct socket *sock; in sock_read() local
569 struct socket *sock; in sock_write() local
598 struct socket *sock; in sock_sendpage() local
[all …]
/linux-2.4.37.9/net/core/
Dsock.c172 int sock_setsockopt(struct socket *sock, int level, int optname, in sock_setsockopt()
427 int sock_getsockopt(struct socket *sock, int level, int optname, in sock_getsockopt()
986 int sock_no_release(struct socket *sock) in sock_no_release()
991 int sock_no_bind(struct socket *sock, struct sockaddr *saddr, int len) in sock_no_bind()
996 int sock_no_connect(struct socket *sock, struct sockaddr *saddr, in sock_no_connect()
1007 int sock_no_accept(struct socket *sock, struct socket *newsock, int flags) in sock_no_accept()
1012 int sock_no_getname(struct socket *sock, struct sockaddr *saddr, in sock_no_getname()
1018 unsigned int sock_no_poll(struct file * file, struct socket *sock, poll_table *pt) in sock_no_poll()
1023 int sock_no_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in sock_no_ioctl()
1028 int sock_no_listen(struct socket *sock, int backlog) in sock_no_listen()
[all …]
/linux-2.4.37.9/net/ipx/
Daf_spx.c60 static unsigned int spx_datagram_poll(struct file * file, struct socket *sock, poll_table *wait) in spx_datagram_poll()
126 static int spx_create(struct socket *sock, int protocol) in spx_create()
190 static int spx_release(struct socket *sock) in spx_release()
215 static int spx_listen(struct socket *sock, int backlog) in spx_listen()
238 static int spx_accept(struct socket *sock, struct socket *newsock, int flags) in spx_accept()
294 static int spx_connect(struct socket *sock, struct sockaddr *uaddr, in spx_connect()
724 static int spx_sendmsg(struct socket *sock, struct msghdr *msg, int len, in spx_sendmsg()
767 static int spx_recvmsg(struct socket *sock, struct msghdr *msg, int size, in spx_recvmsg()
845 static int spx_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in spx_bind()
852 static int spx_getname (struct socket *sock, struct sockaddr *uaddr, in spx_getname()
[all …]
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dsock.c257 static struct sock *rfcomm_sock_alloc(struct socket *sock, int proto, int prio) in rfcomm_sock_alloc()
298 static int rfcomm_sock_create(struct socket *sock, int protocol) in rfcomm_sock_create()
318 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
354 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect()
387 int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
410 int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept()
466 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname()
484 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, int len, in rfcomm_sock_sendmsg()
558 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, int size, in rfcomm_sock_recvmsg()
639 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, char *optval, int op… in rfcomm_sock_setsockopt()
[all …]
/linux-2.4.37.9/net/bluetooth/
Dhci_sock.c140 static int hci_sock_release(struct socket *sock) in hci_sock_release()
198 static int hci_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hci_sock_ioctl()
258 static int hci_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in hci_sock_bind()
294 static int hci_sock_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) in hci_sock_getname()
322 static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, int len, int flags, struct scm… in hci_sock_recvmsg()
358 static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg, int len, in hci_sock_sendmsg()
436 int hci_sock_setsockopt(struct socket *sock, int level, int optname, char *optval, int len) in hci_sock_setsockopt()
498 int hci_sock_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) in hci_sock_getsockopt()
560 static int hci_sock_create(struct socket *sock, int protocol) in hci_sock_create()
/linux-2.4.37.9/net/irda/
Daf_irda.c722 static int irda_getname(struct socket *sock, struct sockaddr *uaddr, in irda_getname()
759 static int irda_listen(struct socket *sock, int backlog) in irda_listen()
785 static int irda_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in irda_bind()
842 static int irda_accept(struct socket *sock, struct socket *newsock, int flags) in irda_accept()
947 static int irda_connect(struct socket *sock, struct sockaddr *uaddr, in irda_connect()
1056 static int irda_create(struct socket *sock, int protocol) in irda_create()
1190 static int irda_release(struct socket *sock) in irda_release()
1254 static int irda_sendmsg(struct socket *sock, struct msghdr *msg, int len, in irda_sendmsg()
1329 static int irda_recvmsg_dgram(struct socket *sock, struct msghdr *msg, in irda_recvmsg_dgram()
1398 static int irda_recvmsg_stream(struct socket *sock, struct msghdr *msg, in irda_recvmsg_stream()
[all …]
/linux-2.4.37.9/net/unix/
Daf_unix.c419 static int unix_listen(struct socket *sock, int backlog) in unix_listen()
452 static struct sock * unix_create1(struct socket *sock) in unix_create1()
486 static int unix_create(struct socket *sock, int protocol) in unix_create()
513 static int unix_release(struct socket *sock) in unix_release()
525 static int unix_autobind(struct socket *sock) in unix_autobind()
630 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
765 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
847 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1041 static int unix_accept(struct socket *sock, struct socket *newsock, int flags) in unix_accept()
1084 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) in unix_getname()
[all …]
/linux-2.4.37.9/net/netlink/
Dnetlink_dev.c44 struct socket *sock = netlink_user[MINOR(file->f_dentry->d_inode->i_rdev)]; in netlink_poll() local
59 struct socket *sock = netlink_user[MINOR(inode->i_rdev)]; in netlink_write() local
83 struct socket *sock = netlink_user[MINOR(inode->i_rdev)]; in netlink_read() local
104 struct socket *sock; in netlink_open() local
136 struct socket *sock; in netlink_release() local
/linux-2.4.37.9/net/x25/
Daf_x25.c363 static int x25_setsockopt(struct socket *sock, int level, int optname, in x25_setsockopt()
388 static int x25_getsockopt(struct socket *sock, int level, int optname, in x25_getsockopt()
421 static int x25_listen(struct socket *sock, int backlog) in x25_listen()
465 static int x25_create(struct socket *sock, int protocol) in x25_create()
541 static int x25_release(struct socket *sock) in x25_release()
579 static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in x25_bind()
604 static int x25_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) in x25_connect()
693 static int x25_accept(struct socket *sock, struct socket *newsock, int flags) in x25_accept()
743 static int x25_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) in x25_getname()
859 static int x25_sendmsg(struct socket *sock, struct msghdr *msg, int len, struct scm_cookie *scm) in x25_sendmsg()
[all …]
/linux-2.4.37.9/net/netrom/
Daf_netrom.c351 static int nr_setsockopt(struct socket *sock, int level, int optname, in nr_setsockopt()
402 static int nr_getsockopt(struct socket *sock, int level, int optname, in nr_getsockopt()
451 static int nr_listen(struct socket *sock, int backlog) in nr_listen()
465 static int nr_create(struct socket *sock, int protocol) in nr_create()
553 static int nr_release(struct socket *sock) in nr_release()
594 static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in nr_bind()
652 static int nr_connect(struct socket *sock, struct sockaddr *uaddr, in nr_connect()
754 static int nr_accept(struct socket *sock, struct socket *newsock, int flags) in nr_accept()
802 static int nr_getname(struct socket *sock, struct sockaddr *uaddr, in nr_getname()
1005 static int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, struct scm_cookie *scm) in nr_sendmsg()
[all …]
/linux-2.4.37.9/net/decnet/
Daf_decnet.c471 struct sock *dn_alloc_sock(struct socket *sock, int gfp) in dn_alloc_sock()
719 static int dn_create(struct socket *sock, int protocol) in dn_create()
745 dn_release(struct socket *sock) in dn_release()
761 static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in dn_bind()
819 static int dn_auto_bind(struct socket *sock) in dn_auto_bind()
852 static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) in dn_connect()
975 static int dn_wait_accept(struct socket *sock, int flags) in dn_wait_accept()
1006 static int dn_accept(struct socket *sock, struct socket *newsock, int flags) in dn_accept()
1139 static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int *uaddr_len,int peer) in dn_getname()
1166 static unsigned int dn_poll(struct file *file, struct socket *sock, poll_table *wait) in dn_poll()
[all …]
/linux-2.4.37.9/net/ax25/
Daf_ax25.c632 static int ax25_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) in ax25_setsockopt()
736 static int ax25_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) in ax25_getsockopt()
827 static int ax25_listen(struct socket *sock, int backlog) in ax25_listen()
840 int ax25_create(struct socket *sock, int protocol) in ax25_create()
977 static int ax25_release(struct socket *sock) in ax25_release()
1049 static int ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in ax25_bind()
1110 static int ax25_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) in ax25_connect()
1281 static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) in ax25_accept()
1328 static int ax25_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) in ax25_getname()
1362 static int ax25_sendmsg(struct socket *sock, struct msghdr *msg, int len, struct scm_cookie *scm) in ax25_sendmsg()
[all …]

12345