/src/sys/netmpls/ |
mpls_ttl.c | 162 struct ip *oip = mtod(n, struct ip *), *nip; 298 nip = mtod(m, struct ip *); 300 nip->ip_hl = sizeof(struct ip) >> 2; 301 nip->ip_tos = 0; 302 nip->ip_len = htons(m->m_len); 304 nip->ip_off = htons(0); 306 nip->ip_p = IPPROTO_ICMP; 307 nip->ip_src = oip->ip_src; 308 nip->ip_dst = oip->ip_dst;
|
/src/usr.sbin/sysinst/arch/i386/ |
md.c | 718 struct nativedisk_info *nip = NULL, *nat; local in function:get_bios_info 735 nip = nat; 739 if (nip == NULL || nip->ni_nmatches == 0) { 741 if (nip != NULL) 745 && nip != NULL) 753 if (nip->ni_nmatches == 1) { 754 bip = &disklist->dl_biosdisks[nip->ni_biosmatches[0]]; 767 for (i = 0; i < nip->ni_nmatches; i++) { 769 nip->ni_biosmatches[i]] [all...] |
/src/sys/netinet/ |
ip_icmp.c | 255 struct ip *oip = mtod(n, struct ip *), *nip; 346 nip = mtod(m, struct ip *); 347 icp = (struct icmp *)(nip + 1); 377 nip->ip_hl = sizeof(struct ip) >> 2; 378 nip->ip_tos = 0; 379 nip->ip_len = htons(m->m_len); 381 nip->ip_off = htons(0); 383 nip->ip_p = IPPROTO_ICMP; 384 nip->ip_src = oip->ip_src; 385 nip->ip_dst = oip->ip_dst [all...] |
/src/sbin/ping6/ |
ping6.c | 1088 struct icmp6_nodeinfo *nip; local in function:pinger 1095 nip = (struct icmp6_nodeinfo *)outpack; 1105 nip->ni_qtype = htons(NI_QTYPE_FQDN); 1106 nip->ni_flags = htons(0); 1114 nip->ni_qtype = htons(NI_QTYPE_FQDN); 1115 nip->ni_flags = htons(0); 1120 nip->ni_qtype = htons(NI_QTYPE_NODEADDR); 1121 nip->ni_flags = naflags; 1128 nip->ni_qtype = htons(NI_QTYPE_SUPTYPES); 1130 nip->ni_flags = NI_SUPTYPE_FLAG_COMPRESS [all...] |
/src/usr.sbin/route6d/ |
route6d.c | 632 static struct netinfo6 *nip; variable in typeref:struct:netinfo6 * 648 nip = ripbuf->rip6_nets; 649 for (i = 0; i < nrt; i++, nip++) { 650 if (nip->rip6_metric == NEXTHOP_METRIC) { 651 if (IN6_IS_ADDR_UNSPECIFIED(&nip->rip6_dest)) 655 inet6_n2p(&nip->rip6_dest)); 659 inet6_n2p(&nip->rip6_dest), 660 nip->rip6_plen, nip->rip6_metric); 662 if (nip->rip6_tag) [all...] |
/src/sys/arch/vax/boot/boot/ |
if_ni.c | 191 struct ni_param *nip; local in function:niopen 366 nip = (struct ni_param *)&msg->nm_text[0]; 367 nip->np_flags = NP_PAD; 382 bcopy(nip->np_dpa, enaddr, ETHER_ADDR_LEN);
|
/src/sys/compat/linux/arch/i386/ |
linux_machdep.c | 738 struct nativedisk_info *nip; local in function:fd2biosinfo 755 nip = &dl->dl_nativedisks[i]; 756 if (strcmp(diskname, nip->ni_devname)) 758 if (nip->ni_nmatches != 0) 759 return &dl->dl_biosdisks[nip->ni_biosmatches[0]];
|
/src/sys/kern/ |
kern_sysctl.c | 498 * on return, nip will show how many numbers in the mib were consumed. 502 const struct sysctlnode **rnode, int *nip) 514 if (nip) 515 *nip = 0; 598 if (nip) 599 *nip = ni;
|
/src/sys/dev/ic/ |
rtw.c | 3101 struct ieee80211_node **nip, short *if_flagsp) 3115 *nip = M_GETCTX(m, struct ieee80211_node *); 3117 KASSERT(*nip != NULL); 3127 struct ieee80211_node **nip) 3146 tdbp, nip, if_flagsp)) != NULL) { 3153 tdbp, nip, if_flagsp)) != NULL) { 3191 *nip = ieee80211_find_txnode(&sc->sc_ic, eh->ether_dhost); 3192 if (*nip == NULL) { 3197 if ((m0 = ieee80211_encap(&sc->sc_ic, m0, *nip)) == NULL) {
|
bwi.c | 9613 struct ieee80211_node **nip, int mgt_pkt) 9616 struct ieee80211_node *ni = *nip; 9823 *nip = ni = NULL;
|
/src/sbin/fdisk/ |
fdisk.c | 1268 struct nativedisk_info *nip; local in function:get_bios_geometry 1288 nip = &dl->dl_nativedisks[i]; 1289 if (strcmp(diskname, nip->ni_devname)) 1297 if (nip->ni_nmatches != 0) { 1298 bip = &dl->dl_biosdisks[nip->ni_biosmatches[0]];
|
/src/sys/ufs/lfs/ |
lfs_vnops.c | 1720 struct inode *ip, *nip; local in function:lfs_flush_pchain 1761 for (ip = TAILQ_FIRST(&fs->lfs_pchainhd); ip != NULL; ip = nip) { 1765 nip = TAILQ_NEXT(ip, i_lfs_pchain);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_linux.cc | 1938 *pc = ucontext->uc_mcontext.regs->nip;
|