Home
last modified time | relevance | path

Searched refs:nif (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/lustre/lnet/lnet/
Dconfig.c1151 int nif = lnet_ipif_enumerate(&ifnames); in lnet_ipaddr_enumerate() local
1155 if (nif <= 0) in lnet_ipaddr_enumerate()
1156 return nif; in lnet_ipaddr_enumerate()
1158 LIBCFS_ALLOC(ipaddrs, nif * sizeof(*ipaddrs)); in lnet_ipaddr_enumerate()
1160 CERROR("Can't allocate ipaddrs[%d]\n", nif); in lnet_ipaddr_enumerate()
1161 lnet_ipif_free_enumeration(ifnames, nif); in lnet_ipaddr_enumerate()
1165 for (i = nip = 0; i < nif; i++) { in lnet_ipaddr_enumerate()
1185 lnet_ipif_free_enumeration(ifnames, nif); in lnet_ipaddr_enumerate()
1187 if (nip == nif) { in lnet_ipaddr_enumerate()
/drivers/net/fddi/skfp/
Dsmt.c940 struct smt_nif *nif ; in smt_send_nif() local
945 nif = smtod(mb, struct smt_nif *) ; in smt_send_nif()
946 smt_fill_una(smc,&nif->una) ; /* set UNA */ in smt_send_nif()
947 smt_fill_sde(smc,&nif->sde) ; /* set station descriptor */ in smt_send_nif()
948 smt_fill_state(smc,&nif->state) ; /* set state information */ in smt_send_nif()
950 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif()
952 nif->smt.smt_dest = *dest ; /* destination address */ in smt_send_nif()
953 nif->smt.smt_tid = tid ; /* transaction ID */ in smt_send_nif()
954 dump_smt(smc,(struct smt_header *)nif,"NIF") ; in smt_send_nif()