/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/busses/ |
H A D | i2c-bfin-twi.c | 66 static void bfin_twi_handle_interrupt(struct bfin_twi_iface *iface) argument 73 if (iface->writeNum > 0) { 74 bfin_write_TWI_XMT_DATA8(*(iface->transPtr++)); 75 iface->writeNum--; 80 else if (iface->cur_mode == TWI_I2C_MODE_COMBINED) { 83 } else if (iface->manual_stop) 92 if (iface->readNum > 0) { 94 *(iface->transPtr) = bfin_read_TWI_RCV_DATA8(); 95 if (iface->cur_mode == TWI_I2C_MODE_COMBINED) { 99 iface 187 struct bfin_twi_iface *iface = dev_id; local 199 struct bfin_twi_iface *iface = (struct bfin_twi_iface *)data; local 223 struct bfin_twi_iface *iface = adap->algo_data; local 327 struct bfin_twi_iface *iface = adap->algo_data; local 554 struct bfin_twi_iface *iface = &twi_iface; local 606 struct bfin_twi_iface *iface = platform_get_drvdata(pdev); local [all...] |
H A D | scx200_acb.c | 93 #define ACBSDA (iface->base + 0) 94 #define ACBST (iface->base + 1) 100 #define ACBCST (iface->base + 2) 102 #define ACBCTL1 (iface->base + 3) 108 #define ACBADDR (iface->base + 4) 109 #define ACBCTL2 (iface->base + 5) 114 static void scx200_acb_machine(struct scx200_acb_iface *iface, u8 status) argument 118 dev_dbg(&iface->adapter.dev, "state %s, status = 0x%02x\n", 119 scx200_acb_state_name[iface->state], status); 130 dev_dbg(&iface 228 scx200_acb_poll(struct scx200_acb_iface *iface) argument 258 scx200_acb_reset(struct scx200_acb_iface *iface) argument 284 struct scx200_acb_iface *iface = i2c_get_adapdata(adapter); local 393 scx200_acb_probe(struct scx200_acb_iface *iface) argument 432 struct scx200_acb_iface *iface; local 455 scx200_acb_create(struct scx200_acb_iface *iface) argument 486 struct scx200_acb_iface *iface; local 524 struct scx200_acb_iface *iface; local 634 struct scx200_acb_iface *iface; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/ |
H A D | interface.c | 22 iface_init_defaults(struct Interface *iface) argument 24 memset(iface, 0, sizeof(struct Interface)); 26 iface->HasFailed = 0; 27 iface->IgnoreIfMissing = DFLT_IgnoreIfMissing; 28 iface->AdvSendAdvert = DFLT_AdvSendAdv; 29 iface->MaxRtrAdvInterval = DFLT_MaxRtrAdvInterval; 30 iface->AdvSourceLLAddress = DFLT_AdvSourceLLAddress; 31 iface->AdvReachableTime = DFLT_AdvReachableTime; 32 iface->AdvRetransTimer = DFLT_AdvRetransTimer; 33 iface 63 route_init_defaults(struct AdvRoute *route, struct Interface *iface) argument 72 rdnss_init_defaults(struct AdvRDNSS *rdnss, struct Interface *iface) argument 83 check_iface(struct Interface *iface) argument [all...] |
H A D | device-linux.c | 32 setup_deviceinfo(int sock, struct Interface *iface) argument 36 char zero[sizeof(iface->if_addr)]; 38 strncpy(ifr.ifr_name, iface->Name, IFNAMSIZ-1); 43 iface->Name, strerror(errno)); 47 dlog(LOG_DEBUG, 3, "mtu for %s is %d", iface->Name, ifr.ifr_mtu); 48 iface->if_maxmtu = ifr.ifr_mtu; 53 iface->Name, strerror(errno)); 57 dlog(LOG_DEBUG, 3, "hardware type for %s is %d", iface->Name, 63 iface->if_hwaddr_len = 48; 64 iface 127 setup_linklocal_addr(int sock, struct Interface *iface) argument 170 setup_allrouters_membership(int sock, struct Interface *iface) argument 194 check_allrouters_membership(int sock, struct Interface *iface) argument 231 set_interface_var(const char *iface, const char *var, const char *name, uint32_t val) argument 257 set_interface_linkmtu(const char *iface, uint32_t mtu) argument 268 set_interface_curhlim(const char *iface, uint8_t hlim) argument 279 set_interface_reachtime(const char *iface, uint32_t rtime) argument 299 set_interface_retranstimer(const char *iface, uint32_t rettimer) argument [all...] |
H A D | device-bsd44.c | 30 setup_deviceinfo(int sock, struct Interface *iface) argument 37 char zero[sizeof(iface->if_addr)]; 53 strncpy(ifr.ifr_name, iface->Name, IFNAMSIZ-1); 57 flog(LOG_ERR, "ioctl(SIOCGIFMTU) failed for %s: %s", iface->Name, strerror(errno)); 61 dlog(LOG_DEBUG, 3, "mtu for %s is %d", iface->Name, ifr.ifr_mtu); 62 iface->if_maxmtu = ifr.ifr_mtu; 66 nlen = strlen(iface->Name); 80 (!memcmp(iface->Name, ((struct sockaddr_dl *)p)->sdl_data, nlen))) 83 if (((struct sockaddr_dl *)p)->sdl_alen > sizeof(iface->if_addr)) 87 iface 153 setup_linklocal_addr(int sock, struct Interface *iface) argument 198 setup_allrouters_membership(int sock, struct Interface *iface) argument 203 check_allrouters_membership(int sock, struct Interface *iface) argument 209 set_interface_linkmtu(const char *iface, uint32_t mtu) argument 217 set_interface_curhlim(const char *iface, uint8_t hlim) argument 225 set_interface_reachtime(const char *iface, uint32_t rtime) argument 233 set_interface_retranstimer(const char *iface, uint32_t rettimer) argument [all...] |
H A D | process.c | 32 struct Interface *iface; local 98 /* get iface by received if_index */ 100 for (iface = ifacel; iface; iface=iface->next) 102 if (iface->if_index == pkt_info->ipi6_ifindex) 108 if (iface == NULL) 123 if (!iface->AdvSendAdvert) 125 dlog(LOG_DEBUG, 2, "AdvSendAdvert is off for %s", iface 142 process_rs(int sock, struct Interface *iface, unsigned char *msg, int len, struct sockaddr_in6 *addr) argument 219 process_ra(struct Interface *iface, unsigned char *msg, int len, struct sockaddr_in6 *addr) argument [all...] |
H A D | privsep-linux.c | 23 int privsep_set(const char *iface, const char *var, uint32_t val); 40 char iface[IFNAMSIZ]; member in struct:privsep_command 63 cmd.iface[IFNAMSIZ-1] = '\0'; 69 flog(LOG_ERR, "(privsep) %s: LinkMTU (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 72 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_LINKMTU, "LinkMTU", cmd.val); 77 flog(LOG_ERR, "(privsep) %s: CurHopLimit (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 80 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_CURHLIM, "CurHopLimit", cmd.val); 85 flog(LOG_ERR, "(privsep) %s: BaseReachableTimer (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 88 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIME_MS, "BaseReachableTimer (ms)", cmd.val); 91 set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIM 176 privsep_interface_linkmtu(const char *iface, uint32_t mtu) argument 189 privsep_interface_curhlim(const char *iface, uint32_t hlim) argument 201 privsep_interface_reachtime(const char *iface, uint32_t rtime) argument 213 privsep_interface_retranstimer(const char *iface, uint32_t rettimer) argument [all...] |
H A D | privsep.c | 23 int privsep_set(const char *iface, const char *var, uint32_t val); 40 char iface[IFNAMSIZ]; member in struct:privsep_command 63 cmd.iface[IFNAMSIZ-1] = '\0'; 69 flog(LOG_ERR, "(privsep) %s: LinkMTU (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 72 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_LINKMTU, "LinkMTU", cmd.val); 77 flog(LOG_ERR, "(privsep) %s: CurHopLimit (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 80 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_CURHLIM, "CurHopLimit", cmd.val); 85 flog(LOG_ERR, "(privsep) %s: BaseReachableTimer (%u) is not within the defined bounds, ignoring", cmd.iface, cmd.val); 88 ret = set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIME_MS, "BaseReachableTimer (ms)", cmd.val); 91 set_interface_var(cmd.iface, PROC_SYS_IP6_BASEREACHTIM 176 privsep_interface_linkmtu(const char *iface, uint32_t mtu) argument 189 privsep_interface_curhlim(const char *iface, uint32_t hlim) argument 201 privsep_interface_reachtime(const char *iface, uint32_t rtime) argument 213 privsep_interface_retranstimer(const char *iface, uint32_t rettimer) argument [all...] |
H A D | send.c | 30 send_ra_forall(int sock, struct Interface *iface, struct in6_addr *dest) argument 35 if (iface->ClientList == NULL) { 36 send_ra(sock, iface, dest); 41 for (current = iface->ClientList; current; current = current->next) 52 send_ra(sock, iface, &(current->Address)); 71 send_ra(int sock, struct Interface *iface, struct in6_addr *dest) argument 97 if(check_device(sock, iface) < 0) { 98 if (iface->IgnoreIfMissing) /* a bit more quiet warning message.. */ 99 dlog(LOG_DEBUG, 4, "interface %s does not exist, ignoring the interface", iface->Name); 101 flog(LOG_WARNING, "interface %s does not exist, ignoring the interface", iface [all...] |
H A D | radvd.c | 407 struct Interface *iface = (struct Interface *) data; local 410 dlog(LOG_DEBUG, 4, "timer_handler called for %s", iface->Name); 412 send_ra_forall(sock, iface, NULL); 414 next = rand_between(iface->MinRtrAdvInterval, iface->MaxRtrAdvInterval); 416 if (iface->init_racount < MAX_INITIAL_RTR_ADVERTISEMENTS - 1) 418 iface->init_racount++; 424 iface->init_racount++; 428 set_timer(&iface->tm, next); 434 struct Interface *iface; local 451 struct Interface *iface; local 481 struct Interface *iface; local 503 struct Interface *iface; local [all...] |
H A D | device-common.c | 22 check_device(int sock, struct Interface *iface) argument 26 strncpy(ifr.ifr_name, iface->Name, IFNAMSIZ-1); 31 if (!iface->IgnoreIfMissing) 33 iface->Name, strerror(errno)); 39 if (!iface->IgnoreIfMissing) 40 flog(LOG_ERR, "interface %s is not UP", iface->Name); 45 if (!iface->IgnoreIfMissing) 46 flog(LOG_ERR, "interface %s is not RUNNING", iface->Name); 50 if (! iface->UnicastOnly && !(ifr.ifr_flags & IFF_MULTICAST)) 53 iface [all...] |
H A D | defaults.h | 37 #define DFLT_MinRtrAdvInterval(iface) (0.33 * (iface)->MaxRtrAdvInterval) 45 #define DFLT_AdvDefaultLifetime(iface) MAX2(1, (int)(3.0 * (iface)->MaxRtrAdvInterval)) 61 #define DFLT_AdvRouteLifetime(iface) (3 * (iface)->MaxRtrAdvInterval) 68 #define DFLT_AdvRDNSSLifetime(iface) (iface)->MaxRtrAdvInterval 105 #define MAX_MinRtrAdvInterval(iface) (0.75 * (iface) [all...] |
H A D | gram.y | 23 struct Interface *iface = NULL; 137 if (!strcmp(iface2->Name, iface->Name)) 140 "definition for %s", iface->Name); 146 if (check_device(sock, iface) < 0) { 147 if (iface->IgnoreIfMissing) { 148 dlog(LOG_DEBUG, 4, "interface %s did not exist, ignoring the interface", iface->Name); 152 flog(LOG_ERR, "interface %s does not exist", iface->Name); 156 if (setup_deviceinfo(sock, iface) < 0) 158 if (check_iface(iface) < 0) 160 if (setup_linklocal_addr(sock, iface) < [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/atalkd/ |
H A D | config.c | 70 int router(struct interface *iface, char **av); 71 int dontroute(struct interface *iface, char **av); 72 int seed(struct interface *iface, char **av); 73 int phase(struct interface *iface, char **av); 74 int net(struct interface *iface, char **av); 75 int addr(struct interface *iface, char **av); 76 int zone(struct interface *iface, char **av); 77 int noallmulti(struct interface *iface, char **av); 81 int (*p_func)(struct interface *iface, char **av); 194 struct interface *iface; local 333 struct interface *iface, *niface; local 482 noallmulti( struct interface *iface, char **av _U_) argument 491 router(struct interface *iface, char **av _U_) argument 513 dontroute(struct interface *iface, char **av _U_) argument 526 seed( struct interface *iface, char **av _U_) argument 542 phase(struct interface *iface, char **av) argument 568 net(struct interface *iface, char **av) argument 636 addr(struct interface *iface, char **av) argument 670 zone(struct interface *iface, char **av) argument 718 struct interface *iface, *niface; local 822 struct interface *iface; local [all...] |
H A D | main.c | 142 struct interface *iface; local 144 for (iface = interfaces; iface; iface = iface->i_next) { 145 if (ifconfig( iface->i_name, SIOCDIFADDR, &iface->i_addr)) { 148 if (!ifconfig(iface->i_name, SIOCATALKDIFADDR, &iface->i_addr)) 153 ntohs(iface 171 sendto_iface(struct interface *iface, int sockfd, const void *buf, size_t len, const struct sockaddr_at *dest_addr) argument 199 struct interface *iface, *iface2; local 707 struct interface *iface; local 809 struct interface *iface; local 850 struct interface *iface; local 1218 bootaddr(struct interface *iface) argument 1273 setaddr(struct interface *iface, u_int8_t phase, u_int16_t net, u_int8_t node, u_int16_t first, u_int16_t last) argument 1448 dumpconfig( struct interface *iface) argument 1486 struct interface *iface; local 1534 struct interface *iface; local [all...] |
H A D | rtmp.c | 99 static int rtmp_config( struct rtmp_head *rh, struct interface *iface) argument 108 if ( iface->i_flags & IFACE_PHASE2 ) { 116 if ( rh->rh_net != iface->i_addr.sat_addr.s_net ) { 117 if (( iface->i_flags & IFACE_SEED ) && 118 rh->rh_net != iface->i_caddr.sat_addr.s_net) { 121 ntohs( iface->i_addr.sat_addr.s_net )); 124 iface->i_addr.sat_addr.s_net = rh->rh_net; 130 iface->i_rt->rt_firstnet = iface->i_rt->rt_lastnet = rh->rh_net; 132 setaddr( iface, IFACE_PHASE 292 struct interface *iface; local 402 struct interface *iface; local 820 rtmp_request( struct interface *iface) argument 862 looproute(struct interface *iface, unsigned int cmd) argument 987 newrt(const struct interface *iface) argument [all...] |
H A D | zip.c | 51 static int zonecheck(struct rtmptab *rtmp, struct interface *iface) argument 57 if (( iface->i_flags & IFACE_SEED ) == 0 ) { 61 for ( cztcnt = 0, czt = iface->i_czt; czt; czt = czt->zt_next, cztcnt++ ) { 93 struct interface *iface; local 112 iface = ap->ap_iface; 143 for ( iface = interfaces; iface; iface = iface->i_next ) { 144 for ( rtmp = iface 895 zip_getnetinfo(struct interface *iface) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/atalkd/ |
H A D | config.c | 70 int router(struct interface *iface, char **av); 71 int dontroute(struct interface *iface, char **av); 72 int seed(struct interface *iface, char **av); 73 int phase(struct interface *iface, char **av); 74 int net(struct interface *iface, char **av); 75 int addr(struct interface *iface, char **av); 76 int zone(struct interface *iface, char **av); 77 int noallmulti(struct interface *iface, char **av); 81 int (*p_func)(struct interface *iface, char **av); 194 struct interface *iface; local 333 struct interface *iface, *niface; local 482 noallmulti( struct interface *iface, char **av _U_) argument 491 router(struct interface *iface, char **av _U_) argument 513 dontroute(struct interface *iface, char **av _U_) argument 526 seed( struct interface *iface, char **av _U_) argument 542 phase(struct interface *iface, char **av) argument 568 net(struct interface *iface, char **av) argument 636 addr(struct interface *iface, char **av) argument 670 zone(struct interface *iface, char **av) argument 718 struct interface *iface, *niface; local 822 struct interface *iface; local [all...] |
H A D | main.c | 142 struct interface *iface; local 144 for (iface = interfaces; iface; iface = iface->i_next) { 145 if (ifconfig( iface->i_name, SIOCDIFADDR, &iface->i_addr)) { 148 if (!ifconfig(iface->i_name, SIOCATALKDIFADDR, &iface->i_addr)) 153 ntohs(iface 171 sendto_iface(struct interface *iface, int sockfd, const void *buf, size_t len, const struct sockaddr_at *dest_addr) argument 199 struct interface *iface, *iface2; local 707 struct interface *iface; local 809 struct interface *iface; local 850 struct interface *iface; local 1218 bootaddr(struct interface *iface) argument 1273 setaddr(struct interface *iface, u_int8_t phase, u_int16_t net, u_int8_t node, u_int16_t first, u_int16_t last) argument 1448 dumpconfig( struct interface *iface) argument 1486 struct interface *iface; local 1534 struct interface *iface; local [all...] |
H A D | rtmp.c | 99 static int rtmp_config( struct rtmp_head *rh, struct interface *iface) argument 108 if ( iface->i_flags & IFACE_PHASE2 ) { 116 if ( rh->rh_net != iface->i_addr.sat_addr.s_net ) { 117 if (( iface->i_flags & IFACE_SEED ) && 118 rh->rh_net != iface->i_caddr.sat_addr.s_net) { 121 ntohs( iface->i_addr.sat_addr.s_net )); 124 iface->i_addr.sat_addr.s_net = rh->rh_net; 130 iface->i_rt->rt_firstnet = iface->i_rt->rt_lastnet = rh->rh_net; 132 setaddr( iface, IFACE_PHASE 292 struct interface *iface; local 402 struct interface *iface; local 820 rtmp_request( struct interface *iface) argument 862 looproute(struct interface *iface, unsigned int cmd) argument 987 newrt(const struct interface *iface) argument [all...] |
H A D | zip.c | 51 static int zonecheck(struct rtmptab *rtmp, struct interface *iface) argument 57 if (( iface->i_flags & IFACE_SEED ) == 0 ) { 61 for ( cztcnt = 0, czt = iface->i_czt; czt; czt = czt->zt_next, cztcnt++ ) { 93 struct interface *iface; local 112 iface = ap->ap_iface; 143 for ( iface = interfaces; iface; iface = iface->i_next ) { 144 for ( rtmp = iface 895 zip_getnetinfo(struct interface *iface) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/ |
H A D | socket.h | 40 int avahi_send_dns_packet_ipv4(int fd, AvahiIfIndex iface, AvahiDnsPacket *p, const AvahiIPv4Address *src_address, const AvahiIPv4Address *dst_address, uint16_t dst_port); 41 int avahi_send_dns_packet_ipv6(int fd, AvahiIfIndex iface, AvahiDnsPacket *p, const AvahiIPv6Address *src_address, const AvahiIPv6Address *dst_address, uint16_t dst_port); 46 int avahi_mdns_mcast_join_ipv4(int fd, const AvahiIPv4Address *local_address, int iface, int join); 47 int avahi_mdns_mcast_join_ipv6(int fd, const AvahiIPv6Address *local_address, int iface, int join);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/ |
H A D | if2ip.c | 76 struct ifaddrs *iface, *head; local 80 for(iface=head; iface != NULL; iface=iface->ifa_next) { 81 if((iface->ifa_addr != NULL) && 82 (iface->ifa_addr->sa_family == af) && 83 curl_strequal(iface->ifa_name, interface)) { 89 addr = &((struct sockaddr_in6 *)iface->ifa_addr)->sin6_addr; 92 scopeid = ((struct sockaddr_in6 *)iface [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-sharp/ |
H A D | EntryGroup.cs | 93 private static extern int avahi_entry_group_add_service_strlst (IntPtr group, int iface, Protocol proto, argument 99 private static extern int avahi_entry_group_update_service_strlst (IntPtr group, int iface, Protocol proto, argument 104 private static extern int avahi_entry_group_add_service_subtype (IntPtr group, int iface, Protocol proto, argument 109 private static extern int avahi_entry_group_add_address (IntPtr group, int iface, Protocol proto, argument 114 private static extern int avahi_entry_group_add_record (IntPtr group, int iface, Protocol proto, argument 208 public void AddService (int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, argument 219 AddService (iface, proto, flags, name, type, domain, host, port, list); 222 public void AddService (int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, argument 233 AddService (iface, proto, flags, name, type, domain, host, port, list); 236 private void AddService (int iface, Protoco argument 261 UpdateService(int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, params string[] txt) argument 275 UpdateService(int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, params byte[][] txt) argument 289 UpdateService(int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, IntPtr list) argument 312 AddServiceSubtype(int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string subtype) argument 333 AddAddress(int iface, Protocol proto, PublishFlags flags, string name, IPAddress address) argument 354 AddRecord(int iface, Protocol proto, PublishFlags flags, string name, RecordClass clazz, RecordType type, uint ttl, byte[] rdata, int length) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/hostap/ |
H A D | hostap_pci.c | 59 struct hostap_interface *iface; local 64 iface = netdev_priv(dev); 65 local = iface->local; 76 struct hostap_interface *iface; local 82 iface = netdev_priv(dev); 83 local = iface->local; 95 struct hostap_interface *iface; local 100 iface = netdev_priv(dev); 101 local = iface->local; 112 struct hostap_interface *iface; local 140 struct hostap_interface *iface; local 149 struct hostap_interface *iface; local 158 struct hostap_interface *iface; local 167 struct hostap_interface *iface; local 300 struct hostap_interface *iface; local 380 struct hostap_interface *iface; local [all...] |