Searched refs:nip (Results 1 - 25 of 29) sorted by relevance

12

/netbsd-6-1-5-RELEASE/sys/netmpls/
H A Dmpls_ttl.c176 struct ip *oip = mtod(n, struct ip *), *nip; local
313 nip = mtod(m, struct ip *);
315 nip->ip_hl = sizeof(struct ip) >> 2;
316 nip->ip_tos = 0;
317 nip->ip_len = htons(m->m_len);
319 nip->ip_off = htons(0);
321 nip->ip_p = IPPROTO_ICMP;
322 nip->ip_src = oip->ip_src;
323 nip->ip_dst = oip->ip_dst;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/i386/
H A Dmd.c446 struct nativedisk_info *nip = NULL, *nat; local
464 nip = nat;
468 if (nip == NULL || nip->ni_nmatches == 0) {
470 if (nip != NULL)
473 && nip != NULL)
478 if (nip->ni_nmatches == 1) {
479 bip = &disklist->dl_biosdisks[nip->ni_biosmatches[0]];
492 for (i = 0; i < nip->ni_nmatches; i++) {
494 nip
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/n8/
H A Dn8_memory_bsd.c273 NspInstance_t *nip = &NSPDeviceTable_g[0]; /* can only attach once */ local
274 struct nsp_softc *sc = device_private(nip->dev);
358 NspInstance_t *nip = &NSPDeviceTable_g[0]; /* can only attach once */ local
359 struct nsp_softc *sc = device_private(nip->dev);
H A Dnsp.c322 NspInstance_t *nip = &NSPDeviceTable_g[0]; /* can only attach once */ local
343 nip->dev = self;
416 memset(nip, 0, sizeof (*nip));
418 sc->nip = nip;
419 nip->dev = sc;
420 nip->chip = NSPcount_g;
422 nip->PCIinfo.vendor_id = PCI_VENDOR(pa->pa_id);
423 nip
554 NspInstance_t *nip = sc->nip; local
[all...]
H A Dnsp.h137 NspInstance_t *nip; member in struct:nsp_softc
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dinline.c239 struct interpass *ip, *nip; local
272 nip = tmpalloc(sizeof(struct interpass));
273 *nip = *ip;
274 if (nip->type == IP_NODE) {
277 p = nip->ip_node = ccopy(nip->ip_node);
282 } else if (nip->type == IP_DEFLAB)
283 nip->ip_lbl += lbloff;
284 pass2_compile(nip);
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dinline.c239 struct interpass *ip, *nip; local
272 nip = tmpalloc(sizeof(struct interpass));
273 *nip = *ip;
274 if (nip->type == IP_NODE) {
277 p = nip->ip_node = ccopy(nip->ip_node);
282 } else if (nip->type == IP_DEFLAB)
283 nip->ip_lbl += lbloff;
284 pass2_compile(nip);
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dprintnat.c224 struct in_addr nip; local
226 nip.s_addr = htonl(np->in_nextip.s_addr);
229 inet_ntoa(nip), np->in_pnext);
/netbsd-6-1-5-RELEASE/dist/ipf/ipsd/
H A Dipsdr.c271 int i, num, nip, in, j, k; local
274 nip += iphits[i]->sd_cnt;
276 ss = (ipss_t *)malloc(sizeof(ipss_t) * nip);
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dip_icmp.c228 struct ip *oip = mtod(n, struct ip *), *nip; local
349 nip = mtod(m, struct ip *);
351 nip->ip_hl = sizeof(struct ip) >> 2;
352 nip->ip_tos = 0;
353 nip->ip_len = htons(m->m_len);
355 nip->ip_off = htons(0);
357 nip->ip_p = IPPROTO_ICMP;
358 nip->ip_src = oip->ip_src;
359 nip->ip_dst = oip->ip_dst;
/netbsd-6-1-5-RELEASE/sbin/ping6/
H A Dping6.c1193 struct icmp6_nodeinfo *nip; local
1200 nip = (struct icmp6_nodeinfo *)outpack;
1209 nip->ni_qtype = htons(NI_QTYPE_FQDN);
1210 nip->ni_flags = htons(0);
1218 nip->ni_qtype = htons(NI_QTYPE_FQDN);
1219 nip->ni_flags = htons(0);
1224 nip->ni_qtype = htons(NI_QTYPE_NODEADDR);
1225 nip->ni_flags = naflags;
1232 nip->ni_qtype = htons(NI_QTYPE_SUPTYPES);
1234 nip
1299 mynireply(const struct icmp6_nodeinfo *nip) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Dlinux-unwind.h49 unsigned long nip; member in struct:gcc_regs
249 fs->regs.reg[ARG_POINTER_REGNUM].loc.offset = (long) &regs->nip - new_cfa;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/rs6000/
H A Dlinux-unwind.h53 unsigned long nip; member in struct:gcc_regs
276 fs->regs.reg[ARG_POINTER_REGNUM].loc.offset = (long) &regs->nip - new_cfa;
/netbsd-6-1-5-RELEASE/usr.sbin/route6d/
H A Droute6d.c659 static struct netinfo6 *nip; variable in typeref:struct:netinfo6
675 nip = ripbuf->rip6_nets;
676 for (i = 0; i < nrt; i++, nip++) {
677 if (nip->rip6_metric == NEXTHOP_METRIC) {
678 if (IN6_IS_ADDR_UNSPECIFIED(&nip->rip6_dest))
682 inet6_n2p(&nip->rip6_dest));
686 inet6_n2p(&nip->rip6_dest),
687 nip->rip6_plen, nip->rip6_metric);
689 if (nip
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_as.c48 dt_irnode_t *dip, *nip; local
50 for (dip = dlp->dl_list; dip != NULL; dip = nip) {
51 nip = dip->di_next;
/netbsd-6-1-5-RELEASE/sys/arch/vax/boot/boot/
H A Dif_ni.c197 struct ni_param *nip; local
372 nip = (struct ni_param *)&msg->nm_text[0];
373 nip->np_flags = NP_PAD;
388 bcopy(nip->np_dpa, enaddr, ETHER_ADDR_LEN);
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_subr.c348 struct inode *ip, *nip; local
362 for (ip = TAILQ_FIRST(&fs->lfs_dchainhd); ip != NULL; ip = nip) {
363 nip = TAILQ_NEXT(ip, i_lfs_dchain);
H A Dlfs_vnops.c2044 struct inode *ip, *nip; local
2085 for (ip = TAILQ_FIRST(&fs->lfs_dchainhd); ip != NULL; ip = nip) {
2086 nip = TAILQ_NEXT(ip, i_lfs_dchain);
2162 struct inode *ip, *nip; local
2202 for (ip = TAILQ_FIRST(&fs->lfs_pchainhd); ip != NULL; ip = nip) {
2203 nip = TAILQ_NEXT(ip, i_lfs_pchain);
/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Dah_input.c318 struct ip *nip;
334 nip = (struct ip *)((u_char *)(ah + 1) + sizoff + siz1);
335 if (nip->ip_src.s_addr != ip->ip_src.s_addr
336 || nip->ip_dst.s_addr != ip->ip_dst.s_addr) {
/netbsd-6-1-5-RELEASE/sys/compat/linux/arch/i386/
H A Dlinux_machdep.c773 struct nativedisk_info *nip; local
788 nip = &dl->dl_nativedisks[i];
789 if (strcmp(diskname, nip->ni_devname))
791 if (nip->ni_nmatches != 0)
792 return &dl->dl_biosdisks[nip->ni_biosmatches[0]];
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_sysctl.c494 * on return, nip will show how many numbers in the mib were consumed.
498 const struct sysctlnode **rnode, int *nip)
510 if (nip)
511 *nip = 0;
594 if (nip)
595 *nip = ni;
497 sysctl_locate(struct lwp *l, const int *name, u_int namelen, const struct sysctlnode **rnode, int *nip) argument
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/arch/i386/
H A Dlocal2.c901 struct interpass *nip; local
908 nip = ipnode(mkbinode(ASSIGN, ll, p->n_left, t));
910 DLIST_INSERT_BEFORE(ip, nip, qelem);
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/arch/powerpc/
H A Dlocal2.c1212 struct interpass *nip; local
1219 nip = ipnode(mkbinode(ASSIGN, ll, p->n_left, t));
1221 DLIST_INSERT_BEFORE(ip, nip, qelem);
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Drtw.c3034 struct ieee80211_node **nip, short *if_flagsp)
3048 *nip = (struct ieee80211_node *)m->m_pkthdr.rcvif;
3050 KASSERT(*nip != NULL);
3060 struct ieee80211_node **nip)
3079 tdbp, nip, if_flagsp)) != NULL) {
3086 tdbp, nip, if_flagsp)) != NULL) {
3124 *nip = ieee80211_find_txnode(&sc->sc_ic, eh->ether_dhost);
3125 if (*nip == NULL) {
3130 if ((m0 = ieee80211_encap(&sc->sc_ic, m0, *nip)) == NULL) {
3032 rtw_80211_dequeue(struct rtw_softc *sc, struct ifqueue *ifq, int pri, struct rtw_txsoft_blk **tsbp, struct rtw_txdesc_blk **tdbp, struct ieee80211_node **nip, short *if_flagsp) argument
3058 rtw_dequeue(struct ifnet *ifp, struct rtw_txsoft_blk **tsbp, struct rtw_txdesc_blk **tdbp, struct mbuf **mp, struct ieee80211_node **nip) argument
/netbsd-6-1-5-RELEASE/sbin/fdisk/
H A Dfdisk.c1220 struct nativedisk_info *nip; local
1240 nip = &dl->dl_nativedisks[i];
1241 if (strcmp(diskname, nip->ni_devname))
1249 if (nip->ni_nmatches != 0) {
1250 bip = &dl->dl_biosdisks[nip->ni_biosmatches[0]];

Completed in 219 milliseconds

12