HomeSort by: relevance | last modified time | path
    Searched defs:ifa (Results 1 - 25 of 316) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/lib/libc/net/
if_indextoname.c 76 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
82 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
83 if (ifa->ifa_addr &&
84 ifa->ifa_addr->sa_family == AF_LINK &&
86 (void *)ifa->ifa_addr)->sdl_index)
90 if (ifa == NULL) {
95 strlcpy(ifname, ifa->ifa_name, IFNAMSIZ)
    [all...]
if_indextoname.c 76 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
82 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
83 if (ifa->ifa_addr &&
84 ifa->ifa_addr->sa_family == AF_LINK &&
86 (void *)ifa->ifa_addr)->sdl_index)
90 if (ifa == NULL) {
95 strlcpy(ifname, ifa->ifa_name, IFNAMSIZ)
    [all...]
if_nametoindex.c 78 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
97 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
98 if (ifa->ifa_addr &&
99 ifa->ifa_addr->sa_family == AF_LINK &&
100 strcmp(ifa->ifa_name, ifname) == 0) {
102 (void *)ifa->ifa_addr)->sdl_index;
if_nametoindex.c 78 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
97 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
98 if (ifa->ifa_addr &&
99 ifa->ifa_addr->sa_family == AF_LINK &&
100 strcmp(ifa->ifa_name, ifname) == 0) {
102 (void *)ifa->ifa_addr)->sdl_index;
if_nameindex.c 90 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
104 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
105 if (ifa->ifa_addr &&
106 ifa->ifa_addr->sa_family == AF_LINK) {
107 nbytes += strlen(ifa->ifa_name) + 1;
129 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next)
    [all...]
if_nameindex.c 90 struct ifaddrs *ifaddrs, *ifa; local in function:__weak_alias
104 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) {
105 if (ifa->ifa_addr &&
106 ifa->ifa_addr->sa_family == AF_LINK) {
107 nbytes += strlen(ifa->ifa_name) + 1;
129 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next)
    [all...]
getifaddrs.c 86 struct ifaddrs *ifa, *ift; local in function:__weak_alias
176 ifa = (struct ifaddrs *)(void *)data;
180 memset(ifa, 0, sizeof(struct ifaddrs) * icnt);
181 ift = ifa;
289 if (--ift >= ifa) {
291 *pif = ifa;
294 free(ifa);
  /src/sys/arch/evbarm/ifpga/
plmmc_ifpga.c 65 struct ifpga_attach_args *ifa = aux; local in function:plmmc_ifpga_attach
69 sc->sc_bst = ifa->ifa_iot;
70 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, IFPGA_MMC_SIZE, 0,
80 sc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_BIO, plmmc_intr, sc);
plmmc_ifpga.c 65 struct ifpga_attach_args *ifa = aux; local in function:plmmc_ifpga_attach
69 sc->sc_bst = ifa->ifa_iot;
70 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, IFPGA_MMC_SIZE, 0,
80 sc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_BIO, plmmc_intr, sc);
plcom_ifpga.c 73 struct ifpga_attach_args *ifa = aux; local in function:plcom_ifpga_attach
75 isc->sc_iot = ifa->ifa_iot;
76 isc->sc_ioh = ifa->ifa_sc_ioh;
84 sc->sc_pi.pi_iot = ifa->ifa_iot;
85 sc->sc_pi.pi_iobase = ifa->ifa_addr;
93 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, IFPGA_UART_SIZE, 0,
103 isc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_SERIAL,
sm_ifpga.c 66 struct ifpga_attach_args *ifa = aux; local in function:sm_ifpga_match
68 if (ifa->ifa_addr == IFPGA_SMC911_BASE)
78 struct ifpga_attach_args *ifa = aux; local in function:sm_ifpga_attach
79 bus_space_tag_t bst = ifa->ifa_iot;
83 if (bus_space_map(bst, ifa->ifa_addr, SMC_IOSIZE, 0, &bsh) != 0) {
88 isc->ih = ifpga_intr_establish(ifa->ifa_irq, IPL_NET, smc91cxx_intr, sc);
plcom_ifpga.c 73 struct ifpga_attach_args *ifa = aux; local in function:plcom_ifpga_attach
75 isc->sc_iot = ifa->ifa_iot;
76 isc->sc_ioh = ifa->ifa_sc_ioh;
84 sc->sc_pi.pi_iot = ifa->ifa_iot;
85 sc->sc_pi.pi_iobase = ifa->ifa_addr;
93 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, IFPGA_UART_SIZE, 0,
103 isc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_SERIAL,
sm_ifpga.c 66 struct ifpga_attach_args *ifa = aux; local in function:sm_ifpga_match
68 if (ifa->ifa_addr == IFPGA_SMC911_BASE)
78 struct ifpga_attach_args *ifa = aux; local in function:sm_ifpga_attach
79 bus_space_tag_t bst = ifa->ifa_iot;
83 if (bus_space_map(bst, ifa->ifa_addr, SMC_IOSIZE, 0, &bsh) != 0) {
88 isc->ih = ifpga_intr_establish(ifa->ifa_irq, IPL_NET, smc91cxx_intr, sc);
pl030_rtc.c 95 struct ifpga_attach_args *ifa = aux; local in function:plrtc_attach
99 sc->sc_iot = ifa->ifa_iot;
100 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, PL030_RTC_SIZE, 0,
pl030_rtc.c 95 struct ifpga_attach_args *ifa = aux; local in function:plrtc_attach
99 sc->sc_iot = ifa->ifa_iot;
100 if (bus_space_map(ifa->ifa_iot, ifa->ifa_addr, PL030_RTC_SIZE, 0,
  /src/usr.sbin/mrouted/
config.c 24 struct ifaddrs *ifa, *ifap; local in function:config_vifs_from_kernel
33 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
37 if (ifa->ifa_addr->sa_family != AF_INET)
40 addr = ((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr;
46 flags = ifa->ifa_flags;
55 mask = ((struct sockaddr_in *)ifa->ifa_netmask)->sin_addr.s_addr;
62 ifa->ifa_name, inet_fmt(addr)
    [all...]
config.c 24 struct ifaddrs *ifa, *ifap; local in function:config_vifs_from_kernel
33 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
37 if (ifa->ifa_addr->sa_family != AF_INET)
40 addr = ((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr;
46 flags = ifa->ifa_flags;
55 mask = ((struct sockaddr_in *)ifa->ifa_netmask)->sin_addr.s_addr;
62 ifa->ifa_name, inet_fmt(addr)
    [all...]
  /src/sys/compat/common/
uipc_syscalls_40.c 69 struct ifaddr *ifa; local in function:compat_ifconf
93 IFADDR_READER_FOREACH(ifa, ifp) {
94 struct sockaddr *sa = ifa->ifa_addr;
97 ifa_acquire(ifa, &psref_ifa);
138 ifa_release(ifa, &psref_ifa);
147 ifa_release(ifa, &psref_ifa);
uipc_syscalls_40.c 69 struct ifaddr *ifa; local in function:compat_ifconf
93 IFADDR_READER_FOREACH(ifa, ifp) {
94 struct sockaddr *sa = ifa->ifa_addr;
97 ifa_acquire(ifa, &psref_ifa);
138 ifa_release(ifa, &psref_ifa);
147 ifa_release(ifa, &psref_ifa);
  /src/usr.sbin/ldpd/
fsm.c 154 struct ifaddrs *ifa, *ifb; local in function:build_address_list_tlv
159 if (getifaddrs(&ifa) == -1)
164 for (ifb = ifa; ifb; ifb = ifb->ifa_next)
175 freeifaddrs(ifa);
190 for (adrcount = 0, ifb = ifa; ifb; ifb = ifb->ifa_next) {
201 freeifaddrs(ifa);
213 struct ifaddrs *ifa, *ifb; local in function:set_my_ldp_id
221 if (getifaddrs(&ifa) == -1)
224 for (ifb = ifa; ifb; ifb = ifb->ifa_next)
240 freeifaddrs(ifa);
    [all...]
fsm.c 154 struct ifaddrs *ifa, *ifb; local in function:build_address_list_tlv
159 if (getifaddrs(&ifa) == -1)
164 for (ifb = ifa; ifb; ifb = ifb->ifa_next)
175 freeifaddrs(ifa);
190 for (adrcount = 0, ifb = ifa; ifb; ifb = ifb->ifa_next) {
201 freeifaddrs(ifa);
213 struct ifaddrs *ifa, *ifb; local in function:set_my_ldp_id
221 if (getifaddrs(&ifa) == -1)
224 for (ifb = ifa; ifb; ifb = ifb->ifa_next)
240 freeifaddrs(ifa);
    [all...]
  /src/usr.sbin/mopd/common/
device.c 65 struct ifaddrs *ifap, *ifa;
70 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
71 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
75 if (!strcmp(ifa->ifa_name, ifname)) {
237 struct ifaddrs *ifap, *ifa; local in function:deviceInitAll
242 for (ifa = ifap; ifa; ifa = ifa->ifa_next)
    [all...]
device.c 65 struct ifaddrs *ifap, *ifa;
70 for (ifa = ifap; ifa; ifa = ifa->ifa_next) {
71 sdl = (struct sockaddr_dl *)ifa->ifa_addr;
75 if (!strcmp(ifa->ifa_name, ifname)) {
237 struct ifaddrs *ifap, *ifa; local in function:deviceInitAll
242 for (ifa = ifap; ifa; ifa = ifa->ifa_next)
    [all...]
  /src/sbin/ifconfig/
af_inet.c 110 in_alias(struct ifaddrs *ifa, prop_dictionary_t env, prop_dictionary_t oenv)
120 if (getnameinfo(ifa->ifa_addr, ifa->ifa_addr->sa_len,
124 pfxlen = in_prefixlen(ifa->ifa_netmask);
128 if (ifa->ifa_flags & IFF_POINTOPOINT) {
129 if (getnameinfo(ifa->ifa_dstaddr, ifa->ifa_dstaddr->sa_len,
136 printf(" netmask %#x", in_netmask(ifa->ifa_netmask));
138 if (ifa->ifa_flags & IFF_BROADCAST) {
139 if (getnameinfo(ifa->ifa_broadaddr, ifa->ifa_broadaddr->sa_len
152 struct ifaddrs *ifap, *ifa; local in function:in_status
    [all...]
  /src/sys/net/npf/
npf_ifaddr.c 112 struct ifaddr *ifa; local in function:npf_ifaddr_sync
127 IFADDR_FOREACH(ifa, ifp) {
128 struct sockaddr *sa = ifa->ifa_addr;

Completed in 26 milliseconds

1 2 3 4 5 6 7 8 91011>>