/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/i2c/ |
H A D | i2c-keywest.c | 88 do_stop(struct keywest_iface* iface, int result) argument 91 iface->state = state_stop; 92 iface->result = result; 97 handle_interrupt(struct keywest_iface *iface, u8 isr) argument 103 isr, read_reg(reg_status), iface->state); 104 if (isr == 0 && iface->state != state_stop) { 105 do_stop(iface, -1); 108 if (isr & KW_I2C_IRQ_STOP && iface->state != state_stop) { 109 iface->result = -1; 110 iface 195 struct keywest_iface *iface = (struct keywest_iface *)dev_id; local 209 struct keywest_iface *iface = (struct keywest_iface *)data; local 233 struct keywest_iface* iface = chan->iface; local 336 struct keywest_iface* iface = chan->iface; local 442 struct keywest_iface* iface; local 568 dispose_iface(struct keywest_iface *iface) argument [all...] |
H A D | i2c-keywest.h | 86 struct keywest_iface* iface; member in struct:keywest_chan 92 static inline u8 __read_reg(struct keywest_iface *iface, reg_t reg) argument 94 return in_8(((volatile u8 *)iface->base) 95 + (((unsigned)reg) << iface->bsteps)); 98 static inline void __write_reg(struct keywest_iface *iface, reg_t reg, u8 val) argument 100 out_8(((volatile u8 *)iface->base) 101 + (((unsigned)reg) << iface->bsteps), val); 102 (void)__read_reg(iface, reg); 106 #define write_reg(reg, val) __write_reg(iface, reg, val) 107 #define read_reg(reg) __read_reg(iface, re [all...] |
/asus-wl-520gu-7.0.1.45/src/router/dnsmasq/ |
H A D | dnsmasq.c | 46 struct irec *iface; local 109 for (iface = interfaces; iface; iface = iface->next) 111 if ((iface->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1) 114 if (bind(iface->fd, &iface->addr.sa, sa_len(&iface [all...] |
H A D | network.c | 21 struct irec *iface; local 55 for (iface = list; iface; iface = iface->next) 56 if (sockaddr_isequal(&iface->addr, addr)) 58 if (iface) 62 iface = safe_malloc(sizeof(struct irec)); 63 iface->addr = *addr; 64 iface 265 struct irec *iface; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/ |
H A D | relay.h | 73 void relayHandlePADT(PPPoEInterface const *iface, PPPoEPacket *packet, int size); 74 void relayHandlePADI(PPPoEInterface const *iface, PPPoEPacket *packet, int size); 75 void relayHandlePADO(PPPoEInterface const *iface, PPPoEPacket *packet, int size); 76 void relayHandlePADR(PPPoEInterface const *iface, PPPoEPacket *packet, int size); 77 void relayHandlePADS(PPPoEInterface const *iface, PPPoEPacket *packet, int size); 86 PPPoEInterface const *iface,
|
H A D | relay.c | 908 * iface -- interface on which packet is waiting 915 relayGotDiscoveryPacket(PPPoEInterface const *iface) argument 920 if (receivePacket(iface->discoverySock, &packet, &size) < 0) { 943 relayHandlePADT(iface, &packet, size); 946 relayHandlePADI(iface, &packet, size); 949 relayHandlePADO(iface, &packet, size); 952 relayHandlePADR(iface, &packet, size); 955 relayHandlePADS(iface, &packet, size); 959 iface->name, (int) packet.code); 966 * iface 973 relayGotSessionPacket(PPPoEInterface const *iface) argument 1060 relayHandlePADT(PPPoEInterface const *iface, PPPoEPacket *packet, int size) argument 1094 relayHandlePADI(PPPoEInterface const *iface, PPPoEPacket *packet, int size) argument 1188 relayHandlePADO(PPPoEInterface const *iface, PPPoEPacket *packet, int size) argument 1304 relayHandlePADR(PPPoEInterface const *iface, PPPoEPacket *packet, int size) argument 1420 relayHandlePADS(PPPoEInterface const *iface, PPPoEPacket *packet, int size) argument 1583 relaySendError(unsigned char code, UINT16_t session, PPPoEInterface const *iface, unsigned char const *mac, PPPoETag const *hostUniq, char const *errMsg) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/ |
H A D | interface.c | 57 struct interface *iface; local 68 iface = (struct interface *)malloc(sizeof(*iface)); 69 if (!iface) return; 71 ZERO_STRUCTPN(iface); 73 iface->ip = ip; 74 iface->nmask = nmask; 75 iface->bcast.s_addr = MKBCADDR(iface->ip.s_addr, iface 200 struct interface *iface = local_interfaces; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/appletalk/ |
H A D | ddp.c | 317 struct atalk_iface **iface = &atalk_iface_list; local 321 while ((tmp = *iface) != NULL) { 323 *iface = tmp->next; 328 iface = &tmp->next; 336 struct atalk_iface *iface = kmalloc(sizeof(*iface), GFP_KERNEL); local 338 if (!iface) 341 iface->dev = dev; 342 dev->atalk_ptr = iface; 343 iface 450 struct atalk_iface *iface = dev->atalk_ptr; local 458 struct atalk_iface *iface; local 490 struct atalk_iface *iface = dev->atalk_ptr; local 506 struct atalk_iface *iface; local 609 struct atalk_iface *iface, *riface; local 1002 struct atalk_iface *iface; local [all...] |
/asus-wl-520gu-7.0.1.45/src/tools/upnp/upnp/ |
H A D | ssdp.c | 20 extern struct iface *global_lans; 27 static void advertise_device(PDevice pdev, ssdp_t sstype, struct iface *pif, struct sockaddr *addr, int addrlen); 28 static void process_msearch(char *, struct iface *, struct sockaddr *, int); 34 void ssdp_receive(caction_t flag, struct net_connection *nc, struct iface *pif); 37 struct net_connection *make_ssdp_socket(struct iface *pif) 84 void ssdp_receive(caction_t flag, struct net_connection *nc, struct iface *pif) 112 static void process_msearch_all(char *st, struct iface *pif, struct sockaddr *srcaddr, int addrlen) 122 static const char *location(PDevice pdev, struct iface *pif) 133 static void process_msearch_rootdevice(char *st, struct iface *pif, struct sockaddr *srcaddr, int addrlen) 157 static void process_msearch_uuid(char *st, struct iface *pi [all...] |
H A D | upnp.c | 27 extern struct net_connection *make_http_socket(struct iface *); 28 extern struct net_connection *make_ssdp_socket(struct iface *); 39 static struct iface *create_lan_interface(char *); 51 struct iface *global_lans = NULL; 69 struct iface *lanif; 183 static struct iface *create_lan_interface(char *ifname) 186 struct iface *pif = NULL; 188 for (pif = (struct iface *)malloc(sizeof(struct iface)); 217 void reinit_lan_interface(struct iface *pi [all...] |
/asus-wl-520gu-7.0.1.45/src/router/samba/source/nmbd/ |
H A D | nmbd_subnetdb.c | 193 struct subnet_record *make_normal_subnet(struct interface *iface) argument 197 subrec = make_subnet(inet_ntoa(iface->ip), NORMAL_SUBNET, 198 iface->ip, iface->bcast, iface->nmask); 233 struct interface *iface = get_interface(i); local 241 if (ip_equal(iface->ip, loopback_ip)) { 246 if (!make_normal_subnet(iface))
|
H A D | nmbd.c | 211 struct interface *iface = get_interface(n); local 219 if (ip_equal(iface->ip, loopback_ip)) { 220 DEBUG(2,("reload_interfaces: Ignoring loopback interface %s\n", inet_ntoa(iface->ip))); 225 if (ip_equal(iface->ip, subrec->myip) && 226 ip_equal(iface->nmask, subrec->mask_ip)) break; 232 inet_ntoa(iface->ip))); 233 subrec = make_normal_subnet(iface); 242 struct interface *iface = get_interface(n); local 243 if (ip_equal(iface->ip, subrec->myip) && 244 ip_equal(iface [all...] |
/asus-wl-520gu-7.0.1.45/src/tools/upnp/igd/ |
H A D | igd.c | 153 extern void reinit_lan_interface(struct iface *pif); 154 extern struct iface *global_lans; 155 struct iface *pif;
|
/asus-wl-520gu-7.0.1.45/src/switch/swmod/ |
H A D | swmod.h | 45 int iface; member in struct:port_interface_s
|
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/ |
H A D | cbcp.c | 105 cbcp_init(iface) 106 int iface; 110 us = &cbcp[iface]; 112 us->us_unit = iface; 118 cbcp_lowerup(iface) 119 int iface; 121 cbcp_state *us = &cbcp[iface]; 188 void cbcp_protrej(int iface) argument
|
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | cbcp.c | 120 cbcp_init(iface) 121 int iface; 125 us = &cbcp[iface]; 127 us->us_unit = iface; 133 cbcp_lowerup(iface) 134 int iface; 136 cbcp_state *us = &cbcp[iface]; 209 void cbcp_protrej(int iface) argument
|
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | cbcp.c | 120 cbcp_init(iface) 121 int iface; 125 us = &cbcp[iface]; 127 us->us_unit = iface; 133 cbcp_lowerup(iface) 134 int iface; 136 cbcp_state *us = &cbcp[iface]; 209 void cbcp_protrej(int iface) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/ |
H A D | usbmouse.c | 102 struct usb_interface *iface; local 109 iface = &dev->actconfig->interface[ifnum]; 110 interface = &iface->altsetting[iface->act_altsetting];
|
H A D | devices.c | 238 static char *usb_dump_interface_descriptor(char *start, char *end, const struct usb_interface *iface, int setno) argument 240 struct usb_interface_descriptor *desc = &iface->altsetting[setno]; 252 iface->driver ? iface->driver->name : "(none)"); 260 const struct usb_interface *iface, 263 struct usb_interface_descriptor *desc = &iface->altsetting[setno]; 266 start = usb_dump_interface_descriptor(start, end, iface, setno); 256 usb_dump_interface( int speed, char *start, char *end, const struct usb_interface *iface, int setno ) argument
|
H A D | usbkbd.c | 176 struct usb_interface *iface; local 183 iface = &dev->actconfig->interface[ifnum]; 184 interface = &iface->altsetting[iface->act_altsetting];
|
H A D | devio.c | 340 struct usb_interface *iface; local 348 iface = &dev->actconfig->interface[intf]; 351 if (!usb_interface_claimed(iface)) { 352 usb_driver_claim_interface(&usbdevfs_driver, iface, ps); 356 else if (!strcmp(iface->driver->name, "usblp")) // patch for U2EC 365 struct usb_interface *iface; local 374 iface = &dev->actconfig->interface[intf]; 375 usb_driver_release_interface(&usbdevfs_driver, iface); 397 struct usb_interface *iface; local 404 iface 420 struct usb_interface *iface; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iptables/ |
H A D | iptables-save.c | 39 print_iface(char letter, const char *iface, const unsigned char *mask, argument 51 if (iface[i] != '\0') 52 printf("%c", iface[i]); 54 /* we can access iface[i-1] here, because 56 if (iface[i-1] != '\0')
|
H A D | ip6tables-save.c | 34 print_iface(char letter, const char *iface, const unsigned char *mask, argument 46 if (iface[i] != '\0') 47 printf("%c", iface[i]); 49 /* we can access iface[i-1] here, because 51 if (iface[i-1] != '\0')
|
/asus-wl-520gu-7.0.1.45/src/tools/upnp/igd/linux/ |
H A D | linux_main.c | 44 extern struct iface *global_lans;
|
/asus-wl-520gu-7.0.1.45/src/switch/sys/ |
H A D | swapi.h | 129 extern int bcm_add_port_interface(uint port, uint iface); 130 typedef int (*BCM_GET_PORT_FROM_INTERFACE)(uint iface, uint *port); 131 extern int bcm_get_port_from_interface(uint iface, uint *port); 493 uint iface; \ 495 if (!sscanf(++curptr,"%d",&iface)) \ 499 pbcm_get_port_from_interface(iface,vlan); \
|