Home
last modified time | relevance | path

Searched refs:ifname (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/Documentation/networking/
Difenslave.c225 static void if_print(char *ifname);
227 static int get_if_settings(char *ifname, struct dev_ifr ifra[]);
232 static int set_if_flags(char *ifname, short flags);
233 static int set_if_up(char *ifname, short flags);
234 static int set_if_down(char *ifname, short flags);
235 static int clear_if_addr(char *ifname);
505 static int if_getconfig(char *ifname) in if_getconfig() argument
512 strcpy(ifr.ifr_name, ifname); in if_getconfig()
517 ifname, ifr.ifr_flags); in if_getconfig()
519 strcpy(ifr.ifr_name, ifname); in if_getconfig()
[all …]
/linux-2.4.37.9/include/linux/
Datmbr2684.h46 char ifname[IFNAMSIZ]; member
60 char ifname[IFNAMSIZ]; member
Dhdlcdrv.h362 unsigned int privsize, char *ifname,
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_sync.c372 static int set_mcast_if(struct sock *sk, char *ifname) in set_mcast_if() argument
376 if ((dev = __dev_get_by_name(ifname)) == NULL) in set_mcast_if()
396 join_mcast_group(struct sock *sk, struct in_addr *addr, char *ifname) in join_mcast_group() argument
405 if ((dev = __dev_get_by_name(ifname)) == NULL) in join_mcast_group()
420 static int bind_mcastif_addr(struct socket *sock, char *ifname) in bind_mcastif_addr() argument
426 if ((dev = __dev_get_by_name(ifname)) == NULL) in bind_mcastif_addr()
435 ifname, NIPQUAD(addr)); in bind_mcastif_addr()
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm.c282 static void sm_output_open(struct sm_state *sm, const char *ifname) in sm_output_open() argument
310 sm->pardev = parport_register_device(pp, ifname, NULL, NULL, NULL, PARPORT_DEV_EXCL, NULL); in sm_output_open()
652 char ifname[IFNAMSIZ]; in init_soundmodem() local
654 sprintf(ifname, "sm%d", i); in init_soundmodem()
676 …j = hdlcdrv_register_hdlcdrv(dev, &sm_ops, sizeof(struct sm_state), ifname, iobase[i], irq[i], dma… in init_soundmodem()
/linux-2.4.37.9/drivers/net/hamradio/
Dbaycom_par.c512 char ifname[IFNAMSIZ]; in init_baycompar() local
514 sprintf(ifname, "bcp%d", i); in init_baycompar()
520 ifname, iobase[i], 0, 0); in init_baycompar()
Dbaycom_ser_fdx.c634 char ifname[IFNAMSIZ]; in init_baycomserfdx() local
636 sprintf(ifname, "bcsf%d", i); in init_baycomserfdx()
642 ifname, iobase[i], irq[i], 0); in init_baycomserfdx()
Dbaycom_ser_hdx.c668 char ifname[IFNAMSIZ]; in init_baycomserhdx() local
670 sprintf(ifname, "bcsh%d", i); in init_baycomserhdx()
676 ifname, iobase[i], irq[i], 0); in init_baycomserhdx()
Dhdlcdrv.c818 unsigned int privsize, char *ifname, in hdlcdrv_register_hdlcdrv() argument
836 strncpy(dev->name, ifname, sizeof(dev->name)); in hdlcdrv_register_hdlcdrv()
/linux-2.4.37.9/net/atm/
Dbr2684.c140 if (!strncmp(brdev->net_dev.name, s->spec.ifname, in br2684_find_dev()
609 if (ni.ifname[0] != '\0') { in br2684_create()
610 memcpy(brdev->net_dev.name, ni.ifname, in br2684_create()
/linux-2.4.37.9/net/ipv4/netfilter/
Dipchains_core.c282 const char *ifname, in ip_rule_match() argument
314 if (FWINV(strncmp(ifname, f->ipfw.fw_vianame, in ip_rule_match()
322 else if (FWINV(strcmp(ifname, f->ipfw.fw_vianame) != 0, in ip_rule_match()
405 const char *ifname, in dump_packet() argument
425 ifname, ip->protocol, NIPQUAD(ip->saddr), in dump_packet()
/linux-2.4.37.9/net/core/
Ddev.c2905 char *argv[3], *envp[5], ifname[12 + IFNAMSIZ], action_str[32]; in net_run_sbin_hotplug() local
2908 sprintf(ifname, "INTERFACE=%s", dev->name); in net_run_sbin_hotplug()
2920 envp [i++] = ifname; in net_run_sbin_hotplug()