/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/ |
H A D | access.c | 300 BOOL check_access(int sock, const char **allow_list, const char **deny_list) argument 313 ret = allow_access(deny_list,allow_list, "", get_peer_addr(sock)); 316 ret = allow_access(deny_list,allow_list, get_peer_name(sock,True), 317 get_peer_addr(sock)); 322 only_ip ? "" : get_peer_name(sock,True), 323 get_peer_addr(sock))); 326 only_ip ? "" : get_peer_name(sock,True), 327 get_peer_addr(sock)));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-daemon/ |
H A D | chroot.c | 295 int sock[2]; local 300 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) < 0) { 306 close(sock[0]); 307 close(sock[1]); 321 close(sock[0]); 322 helper_main(sock[1]); 326 close(sock[1]); 327 helper_fd = sock[0];
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pcmcia/ |
H A D | au1000_generic.h | 59 unsigned sock: 8, member in struct:pcmcia_configure 68 int sock; member in struct:pcmcia_irqs
|
H A D | pxa2xx_base.c | 117 static int pxa2xx_pcmcia_set_mcmem( int sock, int speed, int clock ) argument 119 MCMEM(sock) = ((pxa2xx_mcxx_setup(speed, clock) 129 static int pxa2xx_pcmcia_set_mcio( int sock, int speed, int clock ) argument 131 MCIO(sock) = ((pxa2xx_mcxx_setup(speed, clock) 141 static int pxa2xx_pcmcia_set_mcatt( int sock, int speed, int clock ) argument 143 MCATT(sock) = ((pxa2xx_mcxx_setup(speed, clock) 156 int sock = skt->nr; local 160 pxa2xx_pcmcia_set_mcmem(sock, timing.mem, clk); 161 pxa2xx_pcmcia_set_mcatt(sock, timing.attr, clk); 162 pxa2xx_pcmcia_set_mcio(sock, timin [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | pppoe.c | 84 #include <net/sock.h> 98 static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb); 301 struct sock *sk; 315 * sock lock while doing any unbinding, we need to 317 * the sock so it doesn't disappear as we're jumping 384 static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb) 508 struct sock *sk = sk_pppox(po); 558 * Initialize a new struct sock. 561 static int pppoe_create(struct net *net, struct socket *sock) argument 563 struct sock *s 583 pppoe_release(struct socket *sock) argument 631 pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, int sockaddr_len, int flags) argument 733 pppoe_getname(struct socket *sock, struct sockaddr *uaddr, int *usockaddr_len, int peer) argument 751 pppoe_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 851 pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len) argument 1015 pppoe_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/radvd/ |
H A D | device-linux.c | 32 setup_deviceinfo(int sock, struct Interface *iface) argument 41 if (ioctl(sock, SIOCGIFMTU, &ifr) < 0) { 50 if (ioctl(sock, SIOCGIFHWADDR, &ifr) < 0) 125 * from PATH_PROC_NET_IF_INET6. Note: 'sock' unused in Linux. 127 int setup_linklocal_addr(int sock, struct Interface *iface) argument 170 int setup_allrouters_membership(int sock, struct Interface *iface) argument 181 if (setsockopt(sock, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) < 0) 194 int check_allrouters_membership(int sock, struct Interface *iface) argument 223 setup_allrouters_membership(sock, iface);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/plugin_xmms/ |
H A D | http.c | 65 static int udp_establish_listener (gint *sock); 66 static int udp_check_for_data(gint sock); 71 static gint sock, rd_index, wr_index, buffer_length, prebuffer_length; variable 323 FD_SET(sock, &set); 324 ret = select(sock + 1, &set, NULL, NULL, &tv); 338 if (read(sock, buf + i, 1) <= 0) 387 sock = socket(AF_INET, SOCK_STREAM, 0); 388 fcntl(sock, F_SETFL, O_NONBLOCK); 413 if (connect(sock, (struct sockaddr *) &address, sizeof (struct sockaddr_in)) == -1) 430 FD_SET(sock, 748 udp_establish_listener(int *sock) argument 799 udp_check_for_data(int sock) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/dccp/ |
H A D | diag.c | 19 static void dccp_get_info(struct sock *sk, struct tcp_info *info) 42 static void dccp_diag_get_info(struct sock *sk, struct inet_diag_msg *r,
|
H A D | proto.c | 27 #include <net/sock.h> 53 void dccp_set_state(struct sock *sk, const int state) 93 static void dccp_finish_passive_close(struct sock *sk) 111 void dccp_done(struct sock *sk) 173 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized) 200 void dccp_destroy_sock(struct sock *sk) 234 static inline int dccp_listen_start(struct sock *sk, int backlog) 251 int dccp_disconnect(struct sock *sk, int flags) 309 unsigned int dccp_poll(struct file *file, struct socket *sock, argument 313 struct sock *s 848 inet_dccp_listen(struct socket *sock, int backlog) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/ |
H A D | tcp_illinois.c | 57 static void rtt_reset(struct sock *sk) 69 static void tcp_illinois_init(struct sock *sk) 86 static void tcp_illinois_acked(struct sock *sk, u32 pkts_acked, s32 rtt) 221 static void update_params(struct sock *sk) 243 static void tcp_illinois_state(struct sock *sk, u8 new_state) 259 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) 294 static u32 tcp_illinois_ssthresh(struct sock *sk) 305 static void tcp_illinois_info(struct sock *sk, u32 ext,
|
H A D | tcp_vegas.c | 71 static void vegas_enable(struct sock *sk) 87 static inline void vegas_disable(struct sock *sk) 94 void tcp_vegas_init(struct sock *sk) 111 void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) 134 void tcp_vegas_state(struct sock *sk, u8 ca_state) 153 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event) 166 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) 291 void tcp_vegas_get_info(struct sock *sk, u32 ext, struct sk_buff *skb)
|
H A D | tcp_westwood.c | 61 static void tcp_westwood_init(struct sock *sk) 103 static void tcp_westwood_pkts_acked(struct sock *sk, u32 cnt, s32 rtt) 116 static void westwood_update_window(struct sock *sk) 163 static inline void westwood_fast_bw(struct sock *sk) 180 static inline u32 westwood_acked_count(struct sock *sk) 218 static u32 tcp_westwood_bw_rttmin(const struct sock *sk) 225 static void tcp_westwood_event(struct sock *sk, enum tcp_ca_event event) 259 static void tcp_westwood_info(struct sock *sk, u32 ext,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netfilter/ |
H A D | nf_sockopt.c | 7 #include <net/sock.h> 63 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, 96 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, 115 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, 122 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, 130 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, 156 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, 163 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/netrom/ |
H A D | nr_subr.c | 23 #include <net/sock.h> 35 void nr_clear_queues(struct sock *sk) 50 void nr_frames_acked(struct sock *sk, unsigned short nr) 72 void nr_requeue_frames(struct sock *sk) 89 int nr_validate_nr(struct sock *sk, unsigned short nr) 105 int nr_in_rx_window(struct sock *sk, unsigned short ns) 123 void nr_write_internal(struct sock *sk, int frametype) 263 void nr_disconnect(struct sock *sk, int reason)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | udp.h | 83 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb); 86 static inline struct udp_sock *udp_sk(const struct sock *sk)
|
H A D | igmp.h | 218 extern int ip_mc_join_group(struct sock *sk, struct ip_mreqn *imr); 219 extern int ip_mc_leave_group(struct sock *sk, struct ip_mreqn *imr); 220 extern void ip_mc_drop_socket(struct sock *sk); 221 extern int ip_mc_source(int add, int omode, struct sock *sk, 223 extern int ip_mc_msfilter(struct sock *sk, struct ip_msfilter *msf,int ifindex); 224 extern int ip_mc_msfget(struct sock *sk, struct ip_msfilter *msf, 226 extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf, 228 extern int ip_mc_sf_allow(struct sock *sk, __be32 local, __be32 rmt, int dif);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | netlabel.h | 410 int netlbl_sock_setattr(struct sock *sk, 413 void netlbl_sock_delattr(struct sock *sk); 414 int netlbl_sock_getattr(struct sock *sk, 416 int netlbl_conn_setattr(struct sock *sk, 527 static inline int netlbl_sock_setattr(struct sock *sk, 533 static inline void netlbl_sock_delattr(struct sock *sk) 536 static inline int netlbl_sock_getattr(struct sock *sk, 541 static inline int netlbl_conn_setattr(struct sock *sk,
|
H A D | inet_timewait_sock.h | 6 * Definitions for a generic INET TIMEWAIT sock 27 #include <net/sock.h> 86 * This is a TIME_WAIT sock. It works around the memory consumption 92 * Now struct sock also uses sock_common, so please just 175 static inline struct inet_timewait_sock *inet_twsk(const struct sock *sk) 180 static inline __be32 inet_rcv_saddr(const struct sock *sk) 193 extern struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, 197 struct sock *sk,
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/radvd/ |
H A D | device-linux.c | 32 setup_deviceinfo(int sock, struct Interface *iface) argument 41 if (ioctl(sock, SIOCGIFMTU, &ifr) < 0) { 50 if (ioctl(sock, SIOCGIFHWADDR, &ifr) < 0) 125 * from PATH_PROC_NET_IF_INET6. Note: 'sock' unused in Linux. 127 int setup_linklocal_addr(int sock, struct Interface *iface) argument 170 int setup_allrouters_membership(int sock, struct Interface *iface) argument 181 if (setsockopt(sock, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) < 0) 194 int check_allrouters_membership(int sock, struct Interface *iface) argument 223 setup_allrouters_membership(sock, iface);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/pppoatm/ |
H A D | pppoatm.c | 176 int sock; local 180 sock = socket(AF_INET, SOCK_DGRAM, 0); 181 if (sock < 0) 185 if (ioctl(sock, SIOCSIFMTU, (caddr_t) &ifr) < 0) 187 (void) close (sock);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/llc/ |
H A D | llc_if.c | 23 #include <net/sock.h> 42 int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb) 79 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) 85 struct sock *existing; 125 int llc_send_disc(struct sock *sk)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/x25/ |
H A D | x25_out.c | 30 #include <net/sock.h> 52 int x25_output(struct sock *sk, struct sk_buff *skb) 118 static void x25_send_iframe(struct sock *sk, struct sk_buff *skb) 138 void x25_kick(struct sock *sk) 215 void x25_enquiry_response(struct sock *sk)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/sctp/ |
H A D | sctp.h | 81 #include <net/sock.h> 117 extern struct sock *sctp_get_ctl_sock(void); 128 int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb); 129 int sctp_inet_listen(struct socket *sock, int backlog); 130 void sctp_write_space(struct sock *sk); 131 void sctp_data_ready(struct sock *sk, int len); 132 unsigned int sctp_poll(struct file *file, struct socket *sock, 135 void sctp_copy_sock(struct sock *newsk, struct sock *sk, 158 struct sock *sctp_err_looku [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/ |
H A D | udevcontrol.c | 34 static int sock = -1; variable 147 sock = socket(AF_LOCAL, SOCK_DGRAM, 0); 148 if (sock == -1) { 159 retval = sendto(sock, &ctrl_msg, sizeof(ctrl_msg), 0, (struct sockaddr *)&saddr, addrlen); 168 close(sock);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/nsswitch/ |
H A D | wins.c | 46 struct sockaddr_in sock; local 50 memset((char *)&sock,'\0',sizeof(sock)); 53 sock.sin_len = sizeof(sock); 55 sock.sin_port = 0; 56 sock.sin_family = AF_INET; 57 sock.sin_addr.s_addr = interpret_addr("0.0.0.0"); 69 if (bind(res, (struct sockaddr * ) &sock,sizeof(sock)) < [all...] |