Searched refs:iface (Results 1 - 25 of 66) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/i2c/
H A Di2c-keywest.c88 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 Di2c-keywest.h86 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 Ddnsmasq.c46 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 Dnetwork.c21 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 Drelay.h73 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 Drelay.c908 * 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 Dinterface.c57 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 Dddp.c317 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 Dssdp.c20 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 Dupnp.c27 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 Dnmbd_subnetdb.c193 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 Dnmbd.c211 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 Digd.c153 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 Dswmod.h45 int iface; member in struct:port_interface_s
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppd/
H A Dcbcp.c105 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 Dcbcp.c120 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 Dcbcp.c120 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 Dusbmouse.c102 struct usb_interface *iface; local
109 iface = &dev->actconfig->interface[ifnum];
110 interface = &iface->altsetting[iface->act_altsetting];
H A Ddevices.c238 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 Dusbkbd.c176 struct usb_interface *iface; local
183 iface = &dev->actconfig->interface[ifnum];
184 interface = &iface->altsetting[iface->act_altsetting];
H A Ddevio.c340 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 Diptables-save.c39 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 Dip6tables-save.c34 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 Dlinux_main.c44 extern struct iface *global_lans;
/asus-wl-520gu-7.0.1.45/src/switch/sys/
H A Dswapi.h129 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); \

Completed in 290 milliseconds

123