| /NextBSD/contrib/netbsd-tests/ipf/expected/ |
| HD | n5 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 5 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 6 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 7 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 8 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 9 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 [all …]
|
| HD | n1 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 5 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 6 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 7 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 8 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 9 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 [all …]
|
| HD | n2 | 1 > zx0 ip #0 40(20) 6 10.2.2.2,10000 > 10.1.1.1,1025 2 > zx0 ip #0 40(20) 6 10.2.2.2,10001 > 10.1.1.2,1025 3 > zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2 4 > zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1 5 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 6 > zx0 ip #0 40(20) 6 10.1.1.2,1025 > 10.1.1.1,1025 7 > zx0 ip #0 40(20) 6 10.1.1.2,1026 > 10.1.1.1,1025 8 > zx0 ip #0 28(20) 17 10.1.1.2,1025 > 10.1.1.1,1025 9 > zx0 ip #0 40(20) 6 10.1.1.3,2000 > 10.1.2.1,80 10 > zx0 ip #0 40(20) 6 10.1.1.3,2001 > 10.1.3.1,80 [all …]
|
| HD | n11 | 1 > zx0 ip #0 20(20) 255 10.1.1.0 > 10.1.1.2 2 > zx0 ip #0 20(20) 255 1.6.7.8 > 10.1.1.2 3 > zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 4 > zx0 ip #0 20(20) 255 10.2.2.1 > 10.1.2.1 5 > zx0 ip #0 20(20) 255 10.2.2.2 > 10.1.2.1 6 < zx0 ip #0 20(20) 255 10.1.1.1 > 10.1.1.2 7 < zx0 ip #0 20(20) 255 10.1.1.2 > 10.1.1.1 8 < zx0 ip #0 20(20) 255 10.2.2.1 > 10.2.1.1 9 < zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1 10 < zx0 ip #0 20(20) 255 10.2.2.3 > 10.1.1.1 [all …]
|
| HD | n6 | 1 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.2.2.1,10023 2 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.2,23 3 < zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.1.2.2,23 4 < zx0 ip #0 40(20) 6 10.3.0.1,12345 > 10.2.2.2,23 5 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023 6 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.1,53 7 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53 8 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.0.0,23 9 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.0.0,23 10 < zx0 ip #0 28(20) 17 10.2.2.2,12345 > 10.1.1.0,53 [all …]
|
| HD | n4 | 1 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.2.2.1,10023 2 > zx0 ip #0 40(20) 6 10.1.1.1,23 > 10.3.3.3,12345 3 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.1,53 4 > zx0 ip #0 40(20) 6 10.2.2.1,10053 > 10.3.3.3,12345 5 < zx0 ip #0 40(20) 6 10.3.3.3,12346 > 10.1.0.0,23 6 > zx0 ip #0 40(20) 6 10.2.2.1,10023 > 10.3.3.3,12346 7 < zx0 ip #0 28(20) 17 10.3.3.3,12345 > 10.1.1.0,53 8 > zx0 ip #0 28(20) 17 10.2.2.1,10053 > 10.3.3.3,12345 9 < zx0 ip #0 40(20) 6 10.3.3.3,12345 > 10.1.1.0,53 10 > zx0 ip #0 40(20) 6 10.2.2.1,53 > 10.3.3.3,12345 [all …]
|
| /NextBSD/bin/stty/ |
| HD | key.c | 106 ksearch(char ***argvp, struct info *ip) in ksearch() argument 113 ip->off = 1; in ksearch() 116 ip->off = 0; in ksearch() 122 if (!(kp->flags & F_OFFOK) && ip->off) { in ksearch() 126 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { in ksearch() 130 kp->f(ip); in ksearch() 135 f_all(struct info *ip) in f_all() argument 137 print(&ip->t, &ip->win, ip->ldisc, BSD); in f_all() 141 f_cbreak(struct info *ip) in f_cbreak() argument 144 if (ip->off) in f_cbreak() [all …]
|
| /NextBSD/contrib/ipfilter/ipsend/ |
| HD | iptests.c | 125 void ip_test1(dev, mtu, ip, gwip, ptest) in ip_test1() argument 128 ip_t *ip; 140 IP_HL_A(ip, sizeof(*ip) >> 2); 141 IP_V_A(ip, IPVERSION); 142 ip->ip_tos = 0; 143 ip->ip_off = 0; 144 ip->ip_ttl = 60; 145 ip->ip_p = IPPROTO_UDP; 146 ip->ip_sum = 0; 147 u = (udphdr_t *)(ip + 1); [all …]
|
| HD | ip.c | 86 int send_ip(nfd, mtu, ip, gwip, frag) in send_ip() argument 88 ip_t *ip; 125 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); 127 iplen = ip->ip_len; 128 ip->ip_len = htons(iplen); 130 if (!IP_V(ip)) 131 IP_V_A(ip, IPVERSION); 132 if (!ip->ip_id) 133 ip->ip_id = htons(id++); 134 if (!ip->ip_ttl) [all …]
|
| HD | ipsend.c | 98 static void do_icmp(ip, args) in do_icmp() argument 99 ip_t *ip; in do_icmp() 105 ip->ip_p = IPPROTO_ICMP; 106 ip->ip_len += sizeof(*ic); 107 ic = (struct icmp *)(ip + 1); 149 int send_packets(dev, mtu, ip, gwip) in send_packets() argument 152 ip_t *ip; 160 return send_packet(wfd, mtu, ip, gwip); 164 udpcksum(ip_t *ip, struct udphdr *udp, int len) in udpcksum() argument 182 ph.h.src = ip->ip_src.s_addr; in udpcksum() [all …]
|
| /NextBSD/sys/gnu/fs/reiserfs/ |
| HD | reiserfs_inode.c | 26 void inode_set_bytes(struct reiserfs_node *ip, off_t bytes); 47 struct reiserfs_node *ip; in reiserfs_read() local 57 ip = VTOI(vp); in reiserfs_read() 58 sbi = ip->i_reiserfs; in reiserfs_read() 63 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) in reiserfs_read() 77 if ((error = reiserfs_get_block(ip, lbn, offset, uio)) != 0) { in reiserfs_read() 107 struct reiserfs_node *ip; in reiserfs_inactive() local 111 ip = VTOI(vp); in reiserfs_inactive() 118 if (ip->i_mode == 0) in reiserfs_inactive() 128 if (ip->i_mode == 0) { in reiserfs_inactive() [all …]
|
| /NextBSD/sys/arm/arm/ |
| HD | cpufunc_asm_sheeva.S | 72 ldr ip, .Lsheeva_cache_line_size 73 ldr ip, [ip] 74 sub ip, ip, #1 75 and r2, r0, ip 77 add r1, r1, ip 78 bics r1, r1, ip 79 bics r0, r0, ip 81 ldr ip, .Lsheeva_asm_page_mask 82 and r2, r0, ip 85 movcc ip, r1 [all …]
|
| /NextBSD/lib/libstand/ |
| HD | udp.c | 68 struct ip *ip; local 85 ip = (struct ip *)uh - 1; 86 len += sizeof(*ip) + sizeof(*uh); 88 bzero(ip, sizeof(*ip) + sizeof(*uh)); 90 ip->ip_v = IPVERSION; /* half-char */ 91 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ 92 ip->ip_len = htons(len); 93 ip->ip_p = IPPROTO_UDP; /* char */ 94 ip->ip_ttl = IPDEFTTL; /* char */ 95 ip->ip_src = d->myip; [all …]
|
| /NextBSD/sbin/dhclient/ |
| HD | dhclient.c | 573 struct interface_info *ip = ipp; in state_reboot() local 576 if (!ip->client->active || ip->client->active->is_bootp) { in state_reboot() 577 state_init(ip); in state_reboot() 582 ip->client->state = S_REBOOTING; in state_reboot() 587 ip->client->xid = arc4random(); in state_reboot() 591 make_request(ip, ip->client->active); in state_reboot() 592 ip->client->destination = iaddr_broadcast; in state_reboot() 593 ip->client->first_sending = cur_time; in state_reboot() 594 ip->client->interval = ip->client->config->initial_interval; in state_reboot() 597 ip->client->medium = NULL; in state_reboot() [all …]
|
| /NextBSD/lib/libc/arm/string/ |
| HD | memset.S | 96 mov ip, r0 100 ands r2, ip, #0x03 /* Get the bottom two bits */ 109 tst ip, #0x04 /* Quad-align for armv5e */ 119 strne r3, [ip], #0x04 132 strdge r2, [ip], #0x08 133 strdge r2, [ip], #0x08 134 strdge r2, [ip], #0x08 135 strdge r2, [ip], #0x08 137 strdge r2, [ip], #0x08 138 strdge r2, [ip], #0x08 [all …]
|
| /NextBSD/sys/fs/ext2fs/ |
| HD | ext2_inode_cnv.c | 85 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) in ext2_ei2i() argument 89 ip->i_nlink = ei->e2di_nlink; in ext2_ei2i() 95 ip->i_mode = ei->e2di_nlink ? ei->e2di_mode : 0; in ext2_ei2i() 96 ip->i_size = ei->e2di_size; in ext2_ei2i() 97 if (S_ISREG(ip->i_mode)) in ext2_ei2i() 98 ip->i_size |= ((u_int64_t)ei->e2di_size_high) << 32; in ext2_ei2i() 99 ip->i_atime = ei->e2di_atime; in ext2_ei2i() 100 ip->i_mtime = ei->e2di_mtime; in ext2_ei2i() 101 ip->i_ctime = ei->e2di_ctime; in ext2_ei2i() 102 if (E2DI_HAS_XTIME(ip)) { in ext2_ei2i() [all …]
|
| /NextBSD/sbin/hastd/ |
| HD | lzf.c | 110 const u8 *ip = (const u8 *)in_data; in lzf_compress() local 112 const u8 *in_end = ip + in_len; in lzf_compress() 138 *hslot++ = ip; in lzf_compress() 144 hval = FRST (ip); in lzf_compress() 145 while (ip < in_end - 2) in lzf_compress() 147 hval = NEXT (hval, ip); in lzf_compress() 149 ref = *hslot; *hslot = ip; in lzf_compress() 153 && ref < ip /* the next test will actually take care of this, but this is faster */ in lzf_compress() 155 && (off = ip - ref - 1) < MAX_OFF in lzf_compress() 156 && ip + 4 < in_end in lzf_compress() [all …]
|
| /NextBSD/usr.bin/kdump/ |
| HD | kdump.c | 713 register_t *ip; in ktrsyscall() local 724 ip = &ktr->ktr_args[0]; in ktrsyscall() 747 atfdname(*ip, decimal); in ktrsyscall() 749 ip++; in ktrsyscall() 755 print_number(ip, narg, c); in ktrsyscall() 757 ioctlname(*ip); in ktrsyscall() 759 ip++; in ktrsyscall() 765 ptraceopname(*ip); in ktrsyscall() 767 ip++; in ktrsyscall() 773 print_number(ip, narg, c); in ktrsyscall() [all …]
|
| /NextBSD/sys/ufs/ffs/ |
| HD | ffs_inode.c | 85 struct inode *ip; local 90 ip = VTOI(vp); 91 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) 93 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); 94 fs = ip->i_fs; 95 if (fs->fs_ronly && ip->i_ump->um_fsckpid == 0) 109 if (IS_SNAPSHOT(ip)) 112 error = breadn_flags(ip->i_devvp, 113 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)), 120 KASSERT((IS_SNAPSHOT(ip)), ("EBUSY from non-snapshot")); [all …]
|
| /NextBSD/contrib/libxo/tests/core/ |
| HD | test_01.c | 42 struct item *ip; in main() local 92 for (ip = list; ip->i_title; ip++) { in main() 99 ip->i_sku_base, ip->i_sku_num, in main() 100 ip->i_title, ip->i_sold, ip->i_instock, ip->i_onorder, in main() 101 ip->i_sku_base, ip->i_sku_num); in main() 114 for (ip = list; ip->i_title; ip++) { in main() 117 xo_emit("{keq:sku/%s-%u/%s-000-%u}", ip->i_sku_base, ip->i_sku_num); in main() 118 xo_emit("{L:Item} '{k:name/%s}':\n", ip->i_title); in main() 120 ip->i_sold, ip->i_sold ? ".0" : ""); in main() 121 xo_emit("{P: }{Lcw:In stock}{:in-stock/%u}\n", ip->i_instock); in main() [all …]
|
| HD | test_10.c | 45 struct item *ip; in main() local 121 for (ip = list; ip->i_title; ip++) { in main() 130 ip->i_sku_base, ip->i_sku_num, in main() 131 ip->i_title, ip->i_sold, in main() 132 (ip->i_instock < 5) ? "inverse" : "normal", ip->i_instock, in main() 133 (ip->i_onorder > 5) ? "yellow" : "default", ip->i_onorder, in main() 134 ip->i_sku_base, ip->i_sku_num); in main() 147 for (ip = list; ip->i_title; ip++) { in main() 150 xo_emit("{keq:sku/%s-%u/%s-000-%u}", ip->i_sku_base, ip->i_sku_num); in main() 151 xo_emit("{L:Item} '{k:name/%s}':\n", ip->i_title); in main() [all …]
|
| /NextBSD/sys/ufs/ufs/ |
| HD | ufs_vnops.c | 144 struct inode *ip; in ufs_itimes_locked() local 149 ip = VTOI(vp); in ufs_itimes_locked() 150 if (UFS_RDONLY(ip)) in ufs_itimes_locked() 152 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) in ufs_itimes_locked() 156 ip->i_flag |= IN_LAZYMOD; in ufs_itimes_locked() 159 (ip->i_flag & (IN_CHANGE | IN_UPDATE))) in ufs_itimes_locked() 160 ip->i_flag |= IN_MODIFIED; in ufs_itimes_locked() 161 else if (ip->i_flag & IN_ACCESS) in ufs_itimes_locked() 162 ip->i_flag |= IN_LAZYACCESS; in ufs_itimes_locked() 164 if (ip->i_flag & IN_ACCESS) { in ufs_itimes_locked() [all …]
|
| HD | ufs_inode.c | 75 struct inode *ip = VTOI(vp); local 85 if (ip->i_mode == 0) 98 if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) || 99 (ip->i_nlink <= 0 && !UFS_RDONLY(ip))) { 127 isize = ip->i_size; 128 if (ip->i_ump->um_fstype == UFS2) 129 isize += ip->i_din2->di_extsize; 130 if (ip->i_effnlink <= 0 && isize && !UFS_RDONLY(ip)) 132 if (ip->i_nlink <= 0 && ip->i_mode && !UFS_RDONLY(ip)) { 134 if (!getinoquota(ip)) [all …]
|
| /NextBSD/usr.bin/lam/ |
| HD | lam.c | 80 struct openfile *ip; in main() local 89 for (ip = input; ip->fp != NULL; ip++) in main() 90 linep = gatherline(ip); in main() 94 fputs(ip->sepstring, stdout); in main() 103 struct openfile *ip = input; in getargs() local 115 ip->fp = stdin; in getargs() 116 else if ((ip->fp = fopen(p, "r")) == NULL) { in getargs() 119 ip->pad = P; in getargs() 120 if (!ip->sepstring) in getargs() 121 ip->sepstring = (S ? (ip-1)->sepstring : ""); in getargs() [all …]
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | lz4.c | 336 #define INITBASE(base) const BYTE* const base = ip 476 const BYTE *ip = (BYTE *) source; in LZ4_compressCtx() local 478 const BYTE *anchor = ip; in LZ4_compressCtx() 479 const BYTE *const iend = ip + isize; in LZ4_compressCtx() 496 HashTable[LZ4_HASH_VALUE(ip)] = ip - base; in LZ4_compressCtx() 497 ip++; in LZ4_compressCtx() 498 forwardH = LZ4_HASH_VALUE(ip); in LZ4_compressCtx() 503 const BYTE *forwardIp = ip; in LZ4_compressCtx() 511 ip = forwardIp; in LZ4_compressCtx() 512 forwardIp = ip + step; in LZ4_compressCtx() [all …]
|