/linux-master/include/net/phonet/ |
H A D | gprs.h | 15 struct sock; 18 int pep_writeable(struct sock *sk); 19 int pep_write(struct sock *sk, struct sk_buff *skb); 20 struct sk_buff *pep_read(struct sock *sk); 22 int gprs_attach(struct sock *sk); 23 void gprs_detach(struct sock *sk);
|
/linux-master/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) argument 77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) argument 82 return sigstat & 1 << (8 + 2 * sock->nr); 86 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) argument 88 return !gpio_get_value(sock->insert_gpio); 91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) argument 93 switch (sock->board_type) { 95 return db1200_card_inserted(sock); 97 return db1300_card_inserted(sock); 99 return db1000_card_inserted(sock); 107 set_stschg(struct db1x_pcmcia_sock *sock, int en) argument 119 struct db1x_pcmcia_sock *sock = data; local 128 struct db1x_pcmcia_sock *sock = data; local 148 struct db1x_pcmcia_sock *sock = data; local 162 db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) argument 219 db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) argument 245 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); local 341 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); local 394 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); local 405 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); local 426 struct db1x_pcmcia_sock *sock; local 582 struct db1x_pcmcia_sock *sock = platform_get_drvdata(pdev); local [all...] |
H A D | sa11xx_base.h | 69 #define MECR_SET(mecr, sock, shift, mask, bs) \ 71 ((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))|\ 72 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))) 74 #define MECR_GET(mecr, sock, shift, mask) \ 75 ((((mecr)>>(((sock)==0)?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT))>>\ 78 #define MECR_BSIO_SET(mecr, sock, bs) \ 79 MECR_SET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK, (bs)) 81 #define MECR_BSIO_GET(mecr, sock) \ 82 MECR_GET((mecr), (sock), MECR_BSIO_SHIFT, MECR_BS_MASK) 84 #define MECR_BSA_SET(mecr, sock, b [all...] |
/linux-master/include/net/ |
H A D | llc_c_ev.h | 15 #include <net/sock.h> 128 typedef int (*llc_conn_ev_t)(struct sock *sk, struct sk_buff *skb); 129 typedef int (*llc_conn_ev_qfyr_t)(struct sock *sk, struct sk_buff *skb); 131 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb); 132 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb); 133 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb); 134 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb); 135 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb); 136 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb); 137 int llc_conn_ev_rx_bad_pdu(struct sock *s [all...] |
H A D | llc_c_ac.h | 23 struct sock; 97 typedef int (*llc_conn_action_t)(struct sock *sk, struct sk_buff *skb); 99 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb); 100 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb); 101 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb); 102 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb); 103 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb); 104 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb); 105 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb); 106 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *s [all...] |
H A D | sock_reuseport.h | 9 #include <net/sock.h> 28 struct bpf_prog __rcu *prog; /* optional BPF sock selector */ 29 struct sock *socks[]; /* array of sock pointers */ 32 extern int reuseport_alloc(struct sock *sk, bool bind_inany); 33 extern int reuseport_add_sock(struct sock *sk, struct sock *sk2, 35 extern void reuseport_detach_sock(struct sock *sk); 36 void reuseport_stop_listen_sock(struct sock *sk); 37 extern struct sock *reuseport_select_soc [all...] |
H A D | timewait_sock.h | 12 #include <net/sock.h> 18 int (*twsk_unique)(struct sock *sk, 19 struct sock *sktw, void *twp); 20 void (*twsk_destructor)(struct sock *sk); 23 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) 30 static inline void twsk_destructor(struct sock *sk)
|
H A D | rawv6.h | 9 bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num, 13 int raw_abort(struct sock *sk, int err); 19 int rawv6_rcv(struct sock *sk, struct sk_buff *skb); 22 int rawv6_mh_filter_register(int (*filter)(struct sock *sock, 24 int rawv6_mh_filter_unregister(int (*filter)(struct sock *sock,
|
H A D | inet6_connection_sock.h | 18 struct sock; 21 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6, 24 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr); 26 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl); 28 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
|
H A D | inet_common.h | 9 #include <net/sock.h> 21 struct sock; 25 int inet_release(struct socket *sock); 26 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 28 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 30 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, 32 int inet_accept(struct socket *sock, struct socket *newsock, int flags, 34 void __inet_accept(struct socket *sock, struct socket *newsock, 35 struct sock *newsk); 36 int inet_send_prepare(struct sock *s [all...] |
H A D | tls_toe.h | 37 struct sock; 51 * int (*hash)(struct tls_toe_device *device, struct sock *sk); 55 * void (*unhash)(struct tls_toe_device *device, struct sock *sk); 66 int (*hash)(struct tls_toe_device *device, struct sock *sk); 67 void (*unhash)(struct tls_toe_device *device, struct sock *sk); 72 int tls_toe_bypass(struct sock *sk); 73 int tls_toe_hash(struct sock *sk); 74 void tls_toe_unhash(struct sock *sk);
|
H A D | inet_connection_sock.h | 36 int (*queue_xmit)(struct sock *sk, struct sk_buff *skb, struct flowi *fl); 37 void (*send_check)(struct sock *sk, struct sk_buff *skb); 38 int (*rebuild_header)(struct sock *sk); 39 void (*sk_rx_dst_set)(struct sock *sk, const struct sk_buff *skb); 40 int (*conn_request)(struct sock *sk, struct sk_buff *skb); 41 struct sock *(*syn_recv_sock)(const struct sock *sk, struct sk_buff *skb, 48 int (*setsockopt)(struct sock *sk, int level, int optname, 50 int (*getsockopt)(struct sock *sk, int level, int optname, 52 void (*addr2sockaddr)(struct sock *s [all...] |
H A D | espintcp.h | 10 int espintcp_push_skb(struct sock *sk, struct sk_buff *skb); 11 int espintcp_queue_out(struct sock *sk, struct sk_buff *skb); 12 bool tcp_is_ulp_esp(struct sock *sk); 26 void (*saved_data_ready)(struct sock *sk); 27 void (*saved_write_space)(struct sock *sk); 28 void (*saved_destruct)(struct sock *sk); 33 static inline struct espintcp_ctx *espintcp_getctx(const struct sock *sk)
|
/linux-master/drivers/staging/gdm724x/ |
H A D | netlink_k.h | 8 #include <net/sock.h> 10 struct sock *netlink_init(int unit, 13 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len,
|
/linux-master/drivers/xen/ |
H A D | pvcalls-front.h | 6 int pvcalls_front_socket(struct socket *sock); 7 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr, 9 int pvcalls_front_bind(struct socket *sock, 12 int pvcalls_front_listen(struct socket *sock, int backlog); 13 int pvcalls_front_accept(struct socket *sock, 16 int pvcalls_front_sendmsg(struct socket *sock, 19 int pvcalls_front_recvmsg(struct socket *sock, 24 struct socket *sock, 26 int pvcalls_front_release(struct socket *sock);
|
/linux-master/net/vmw_vsock/ |
H A D | vmci_transport_notify.h | 39 void (*socket_init) (struct sock *sk); 41 int (*poll_in) (struct sock *sk, size_t target, 43 int (*poll_out) (struct sock *sk, size_t target, 45 void (*handle_notify_pkt) (struct sock *sk, 50 int (*recv_init) (struct sock *sk, size_t target, 52 int (*recv_pre_block) (struct sock *sk, size_t target, 54 int (*recv_pre_dequeue) (struct sock *sk, size_t target, 56 int (*recv_post_dequeue) (struct sock *sk, size_t target, 59 int (*send_init) (struct sock *sk, 61 int (*send_pre_block) (struct sock *s [all...] |
/linux-master/net/bluetooth/ |
H A D | mgmt_config.h | 7 int read_def_system_config(struct sock *sk, struct hci_dev *hdev, void *data, 10 int set_def_system_config(struct sock *sk, struct hci_dev *hdev, void *data, 13 int read_def_runtime_config(struct sock *sk, struct hci_dev *hdev, void *data, 16 int set_def_runtime_config(struct sock *sk, struct hci_dev *hdev, void *data,
|
/linux-master/net/ipv6/ |
H A D | udp_impl.h | 15 int udpv6_init_sock(struct sock *sk); 16 int udp_v6_get_port(struct sock *sk, unsigned short snum); 17 void udp_v6_rehash(struct sock *sk); 19 int udpv6_getsockopt(struct sock *sk, int level, int optname, 21 int udpv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, 23 int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len); 24 int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int flags, 26 void udpv6_destroy_sock(struct sock *sk);
|
/linux-master/net/bluetooth/hidp/ |
H A D | Makefile | 8 hidp-objs := core.o sock.o
|
/linux-master/include/net/netfilter/ |
H A D | nf_socket.h | 5 #include <net/sock.h> 7 struct sock *nf_sk_lookup_slow_v4(struct net *net, const struct sk_buff *skb, 10 struct sock *nf_sk_lookup_slow_v6(struct net *net, const struct sk_buff *skb,
|
/linux-master/net/ipv4/ |
H A D | tcp_vegas.h | 19 void tcp_vegas_init(struct sock *sk); 20 void tcp_vegas_state(struct sock *sk, u8 ca_state); 21 void tcp_vegas_pkts_acked(struct sock *sk, const struct ack_sample *sample); 22 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event); 23 size_t tcp_vegas_get_info(struct sock *sk, u32 ext, int *attr,
|
/linux-master/include/linux/ |
H A D | mroute6.h | 26 struct sock; 29 extern int ip6_mroute_setsockopt(struct sock *, int, sockptr_t, unsigned int); 30 extern int ip6_mroute_getsockopt(struct sock *, int, sockptr_t, sockptr_t); 32 extern int ip6mr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 35 int ip6mr_ioctl(struct sock *sk, int cmd, void *arg); 37 static inline int ip6_mroute_setsockopt(struct sock *sock, int optname, argument 44 int ip6_mroute_getsockopt(struct sock *sock, argument 51 int ip6mr_ioctl(struct sock *s [all...] |
H A D | mroute.h | 19 int ip_mroute_setsockopt(struct sock *, int, sockptr_t, unsigned int); 20 int ip_mroute_getsockopt(struct sock *, int, sockptr_t, sockptr_t); 21 int ipmr_ioctl(struct sock *sk, int cmd, void *arg); 22 int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 25 int ipmr_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 27 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, argument 33 static inline int ip_mroute_getsockopt(struct sock *sk, int optname, 39 static inline int ipmr_ioctl(struct sock *sk, int cmd, void *arg) 59 static inline int ipmr_sk_ioctl(struct sock *s [all...] |
H A D | sock_diag.h | 8 #include <net/sock.h> 13 struct sock; 19 int (*get_info)(struct sk_buff *skb, struct sock *sk); 34 u64 __sock_gen_cookie(struct sock *sk); 36 static inline u64 sock_gen_cookie(struct sock *sk) 47 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie); 48 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie); 50 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr); 51 int sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk, 55 enum sknetlink_groups sock_diag_destroy_group(const struct sock *s [all...] |
/linux-master/net/atm/ |
H A D | common.h | 14 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern); 15 int vcc_release(struct socket *sock); 16 int vcc_connect(struct socket *sock, int itf, short vpi, int vci); 17 int vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, 19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len); 20 __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait); 21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 23 int vcc_setsockopt(struct socket *sock, int level, int optname, 25 int vcc_getsockopt(struct socket *sock, in [all...] |