/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | 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 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 11 < zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1 20 > zx0 ip #0 48(20) 1 10.2.2.2 > 10.4.3.2 [all …]
|
H A D | 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 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 11 < zx0 ip #0 20(20) 255 10.2.2.2 > 10.2.1.1 20 > zx0 ip #0 48(20) 1 10.2.2.2 > 10.4.3.2 [all …]
|
H A D | 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 13 < zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2 15 < zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1 46 > zx0 ip #0 20(20) 0 10.1.1.0 > 10.1.1.2 47 > zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.2.1 56 < zx0 ip #0 20(20) 0 10.1.1.1 > 10.1.1.2 58 < zx0 ip #0 20(20) 0 10.1.1.2 > 10.1.1.1 [all …]
|
H A D | 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 …]
|
H A D | 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 12 < zx0 ip #0 40(20) 6 10.2.2.2,12345 > 10.1.1.0,53 [all …]
|
/freebsd/usr.bin/kdump/ |
H A D | linux.c | 101 ip++; in ktrsyscall_linux() 113 ip++; in ktrsyscall_linux() 123 ip++; in ktrsyscall_linux() 130 ip++; in ktrsyscall_linux() 140 ip++; in ktrsyscall_linux() 149 ip++; in ktrsyscall_linux() 178 ip++; in ktrsyscall_linux() 185 ip++; in ktrsyscall_linux() 189 ip++; in ktrsyscall_linux() 195 ip++; in ktrsyscall_linux() [all …]
|
H A D | kdump.c | 893 ip++; in ktrsyscall_freebsd() 903 ip++; in ktrsyscall_freebsd() 911 ip++; in ktrsyscall_freebsd() 920 ip++; in ktrsyscall_freebsd() 949 ip++; in ktrsyscall_freebsd() 956 ip++; in ktrsyscall_freebsd() 962 ip++; in ktrsyscall_freebsd() 972 ip++; in ktrsyscall_freebsd() 979 ip++; in ktrsyscall_freebsd() 1132 ip[0], ip[1], in ktrsyscall_freebsd() [all …]
|
/freebsd/bin/stty/ |
H A D | key.c | 121 kp->f(ip); in ksearch() 128 print(&ip->t, &ip->win, ip->ldisc, BSD); in f_all() 135 if (ip->off) in f_cbreak() 136 f_sane(ip); in f_cbreak() 150 ip->win.ws_col = atoi(ip->arg); in f_columns() 164 ip->set = 1; in f_dec() 180 print(&ip->t, &ip->win, ip->ldisc, BSD); in f_everything() 200 cfsetispeed(&ip->t, (speed_t)atoi(ip->arg)); in f_ispeed() 222 cfsetospeed(&ip->t, (speed_t)atoi(ip->arg)); in f_ospeed() 244 ip->win.ws_row = atoi(ip->arg); in f_rows() [all …]
|
/freebsd/sbin/ipf/ipsend/ |
H A D | iptests.c | 104 IP_HL_A(ip, sizeof(*ip) >> 2); in ip_test1() 161 IP_HL_A(ip, sizeof(*ip) >> 2); in ip_test1() 199 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); in ip_test1() 211 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); in ip_test1() 230 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); in ip_test1() 242 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); in ip_test1() 257 ip->ip_len = sizeof(*ip); in ip_test1() 265 ip->ip_len = sizeof(*ip); in ip_test1() 273 ip->ip_len = sizeof(*ip); in ip_test1() 281 ip->ip_len = sizeof(*ip); in ip_test1() [all …]
|
H A D | ip.c | 112 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); in send_ip() 135 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2); in send_ip() 159 ol = (IP_HL(ip) << 2) - sizeof(*ip); in send_ip() 208 ip->ip_sum = chksum((u_short *)ip, hlen); in send_ip() 220 IP_HL_A(ip, (sizeof(*ip) + i) >> 2); in send_ip() 226 bcopy((char *)&ipsv, (char *)ip, sizeof(*ip)); in send_ip() 298 bcopy((char *)ip + (IP_HL(ip) << 2), in send_udp() 302 ip->ip_len = (IP_HL(ip) << 2) + thlen; in send_udp() 307 (char *)ip + (IP_HL(ip) << 2), sizeof(udphdr_t)); in send_udp() 320 ic = (struct icmp *)((char *)ip + (IP_HL(ip) << 2)); in send_icmp() [all …]
|
H A D | ipsend.c | 169 ip_t *ip; in main() local 181 ip->ip_len = sizeof(*ip); in main() 182 IP_HL_A(ip, sizeof(*ip) >> 2); in main() 192 ip->ip_p); in main() 220 ip->ip_p); in main() 235 ip->ip_p); in main() 246 ip->ip_p); in main() 286 if (ip->ip_p == IPPROTO_TCP || ip->ip_p == IPPROTO_UDP) in main() 351 bcopy(ip, p, sizeof(*ip)); in main() 353 bcopy(ip + 1, p + hlen, ip->ip_len - hlen); in main() [all …]
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_inode_cnv.c | 166 ip->i_mode = ip->i_nlink ? le16toh(ei->e2di_mode) : 0; in ext2_ei2i() 168 (ip->i_nlink < 2 || !S_ISDIR(ip->i_mode))) { in ext2_ei2i() 191 ext2_decode_extra_time(&ip->i_atime, &ip->i_atimensec, in ext2_ei2i() 193 ext2_decode_extra_time(&ip->i_mtime, &ip->i_mtimensec, in ext2_ei2i() 195 ext2_decode_extra_time(&ip->i_ctime, &ip->i_ctimensec, in ext2_ei2i() 198 ext2_decode_extra_time(&ip->i_birthtime, &ip->i_birthnsec, in ext2_ei2i() 201 ip->i_flags = 0; in ext2_ei2i() 214 ip->i_blocks = fsbtodb(ip->i_e2fs, ip->i_blocks); in ext2_ei2i() 222 if (S_ISCHR(ip->i_mode) || S_ISBLK(ip->i_mode)) { in ext2_ei2i() 259 fs = ip->i_e2fs; in ext2_i2ei() [all …]
|
/freebsd/contrib/libxo/tests/core/ |
H A D | test_01.c | 128 for (ip = list; ip->i_title; ip++) { in main() 135 ip->i_sku_base, ip->i_sku_num, in main() 136 ip->i_title, ip->i_sold, ip->i_instock, ip->i_onorder, in main() 137 ip->i_sku_base, ip->i_sku_num); in main() 150 for (ip = list; ip->i_title; ip++) { in main() 160 ip->i_sku_base, ip->i_sku_num); in main() 171 for (ip = list2; ip->i_title; ip++) { in main() 192 for (ip = list; ip->i_title; ip++) { in main() 208 for (ip = list; ip->i_title; ip++) { in main() 214 ip->i_sku_base, ip->i_sku_num, in main() [all …]
|
H A D | test_10.c | 122 for (ip = list; ip->i_title; ip++) { in main() 131 ip->i_sku_base, ip->i_sku_num, in main() 132 ip->i_title, ip->i_sold, in main() 135 ip->i_sku_base, ip->i_sku_num); in main() 148 for (ip = list; ip->i_title; ip++) { in main() 154 ip->i_sold, ip->i_sold ? ".0" : ""); in main() 159 ip->i_sku_base, ip->i_sku_num); in main() 170 for (ip = list2; ip->i_title; ip++) { in main() 177 ip->i_sold, ip->i_sold ? ".0" : ""); in main() 181 ip->i_sku_base, ip->i_sku_num); in main() [all …]
|
/freebsd/sys/ufs/ufs/ |
H A D | inode.h | 210 #define ITOUMP(ip) ((ip)->i_ump) argument 211 #define ITODEV(ip) (ITOUMP(ip)->um_dev) argument 212 #define ITODEVVP(ip) (ITOUMP(ip)->um_devvp) argument 213 #define ITOFS(ip) (ITOUMP(ip)->um_fs) argument 214 #define ITOVFS(ip) ((ip)->i_vnode->v_mount) argument 237 #define DIP(ip, field) (I_IS_UFS1(ip) ? (ip)->i_din1->d##field : \ argument 267 #define ITOV(ip) ((ip)->i_vnode) argument 305 #define I_OFFSET(ip) ((ip)->i_offset) argument 307 #define I_COUNT(ip) ((ip)->i_count) argument 308 #define SET_I_COUNT(ip, cnt) ((ip)->i_count = cnt) argument [all …]
|
H A D | ufs_inode.c | 66 struct inode *ip; in ufs_need_inactive() local 72 ip = VTOI(vp); in ufs_need_inactive() 73 if (UFS_RDONLY(ip)) in ufs_need_inactive() 77 if (ip->i_mode == 0 || ip->i_nlink <= 0 || in ufs_need_inactive() 81 (ip->i_effnlink <= 0 && (ip->i_size != 0 || (I_IS_UFS2(ip) && in ufs_need_inactive() 131 (ip->i_nlink <= 0 && !UFS_RDONLY(ip))) { in ufs_inactive() 160 if (I_IS_UFS2(ip)) in ufs_inactive() 162 if (ip->i_effnlink <= 0 && isize && !UFS_RDONLY(ip)) in ufs_inactive() 164 if (ip->i_nlink <= 0 && ip->i_mode != 0 && !UFS_RDONLY(ip) && in ufs_inactive() 181 ip->i_mode = 0; in ufs_inactive() [all …]
|
H A D | ufs_vnops.c | 467 error = vaccess(vp->v_type, ip->i_mode, ip->i_uid, ip->i_gid, in ufs_accessx() 895 DIP_SET(ip, i_mode, ip->i_mode); in ufs_chmod() 1015 DIP_SET(ip, i_mode, ip->i_mode); in ufs_chown() 1134 DIP_SET_NLINK(ip, ip->i_nlink); in ufs_link() 1147 DIP_SET_NLINK(ip, ip->i_nlink); in ufs_link() 2086 DIP_SET(ip, i_uid, ip->i_uid); in ufs_mkdir() 2103 DIP_SET(ip, i_uid, ip->i_uid); in ufs_mkdir() 2338 DIP_SET_NLINK(ip, ip->i_nlink); in ufs_rmdir() 2609 (uintmax_t)ip->i_gen, ip->i_uid, ip->i_gid, in ufs_print() 2821 DIP_SET(ip, i_uid, ip->i_uid); in ufs_makeinode() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | file.h | 32 #define spl_inode_lock(ip) inode_lock(ip) argument 33 #define spl_inode_unlock(ip) inode_unlock(ip) argument 34 #define spl_inode_lock_shared(ip) inode_lock_shared(ip) argument 35 #define spl_inode_unlock_shared(ip) inode_unlock_shared(ip) argument 36 #define spl_inode_trylock(ip) inode_trylock(ip) argument 37 #define spl_inode_trylock_shared(ip) inode_trylock_shared(ip) argument 38 #define spl_inode_is_locked(ip) inode_is_locked(ip) argument 41 #define spl_inode_lock(ip) mutex_lock(&(ip)->i_mutex) argument 42 #define spl_inode_unlock(ip) mutex_unlock(&(ip)->i_mutex) argument 43 #define spl_inode_lock_shared(ip) mutex_lock(&(ip)->i_mutex) argument [all …]
|
/freebsd/sbin/dhclient/ |
H A D | dhclient.c | 631 make_request(ip, ip->client->active); in state_reboot() 656 make_discover(ip, ip->client->active); in state_init() 657 ip->client->xid = ip->client->packet.xid; in state_init() 749 ip->client->xid = ip->client->packet.xid; in state_selecting() 891 write_client_lease(ip, ip->client->new, 0); in bind_lease() 908 ip->client->active = ip->client->new; in bind_lease() 938 make_request(ip, ip->client->active); in state_bound() 939 ip->client->xid = ip->client->packet.xid; in state_bound() 1439 ip->client->active = ip->client->leases; in state_panic() 1824 ip->client->packet.xid = ip->client->xid; in make_request() [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 98 ip += ((ip - prefixLowest) == 0); in ZSTD_compressBlock_doubleFast_noDict_generic() 132 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_noDict_generic() 133 ip++; in ZSTD_compressBlock_doubleFast_noDict_generic() 166 ip = ip1; in ZSTD_compressBlock_doubleFast_noDict_generic() 225 anchor = ip; in ZSTD_compressBlock_doubleFast_noDict_generic() 245 hashLong[ZSTD_hashPtr(ip, hBitsL, 8)] = (U32)(ip-base); in ZSTD_compressBlock_doubleFast_noDict_generic() 330 ip++; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 371 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 587 ip++; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
/freebsd/sbin/hastd/ |
H A D | lzf.c | 140 *hslot++ = ip; in lzf_compress() 146 hval = FRST (ip); in lzf_compress() 215 ip++; in lzf_compress() 236 --ip; in lzf_compress() 238 --ip; in lzf_compress() 244 ip++; in lzf_compress() 249 ip++; in lzf_compress() 258 ip++; in lzf_compress() 282 while (ip < in_end) in lzf_compress() 377 ref -= *ip++; in lzf_decompress() [all …]
|
/freebsd/stand/libsa/ |
H A D | ip.c | 89 struct ip *ip; in sendip() local 104 ip = (struct ip *)pkt - 1; in sendip() 107 bzero(ip, sizeof(*ip)); in sendip() 110 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ in sendip() 116 ip->ip_sum = in_cksum(ip, sizeof(*ip)); /* short, but special */ in sendip() 184 struct ip *ip; in readipv4() local 196 ip = NULL; in readipv4() 233 ip->ip_v, ip->ip_p); in readipv4() 277 ip->ip_len = htons(sizeof(*ip)); in readipv4() 281 n = (n > (ntohs(ip->ip_len) - sizeof(*ip))) ? in readipv4() [all …]
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_inode.c | 98 struct inode *ip; in ffs_update() local 104 ip = VTOI(vp); in ffs_update() 128 fs = ITOFS(ip); in ffs_update() 187 else if (ip->i_effnlink != ip->i_nlink) in ffs_update() 191 ino_to_fsbo(fs, ip->i_number)) = *ip->i_din1; in ffs_update() 200 ino_to_fsbo(fs, ip->i_number)) = *ip->i_din2; in ffs_update() 254 ip = VTOI(vp); in ffs_truncate() 340 bzero(DIP(ip, i_shortlink), (uint64_t)ip->i_size); in ffs_truncate() 672 DIP_SET(ip, i_blocks, DIP(ip, i_blocks) - blocksreleased); in ffs_truncate() 715 #define BAP(ip, i) (I_IS_UFS1(ip) ? bap1[i] : bap2[i]) in ffs_indirtrunc() argument [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_double_fast.c | 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 150 ip++; in ZSTD_compressBlock_doubleFast_generic() 158 mLength = ZSTD_count(ip+1+4, ip+1+4-offset_1, iend) + 4; in ZSTD_compressBlock_doubleFast_generic() 159 ip++; in ZSTD_compressBlock_doubleFast_generic() 200 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_generic() 240 …while (((ip>anchor) & (match>dictStart)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; } /… in ZSTD_compressBlock_doubleFast_generic() 244 …while (((ip>anchor) & (match>prefixLowest)) && (ip[-1] == match[-1])) { ip--; match--; mLength++; … in ZSTD_compressBlock_doubleFast_generic() 258 anchor = ip; in ZSTD_compressBlock_doubleFast_generic() 416 ip++; in ZSTD_compressBlock_doubleFast_extDict_generic() 456 ip += ((ip-anchor) >> kSearchStrength) + 1; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
/freebsd/usr.bin/lam/ |
H A D | lam.c | 93 for (ip = input; ip->fp != NULL; ip++) in main() 127 ip->pad = P; in getargs() 129 ip->sepstring = (S ? (ip-1)->sepstring : ""); in getargs() 131 ip->format = ((P || F) ? (ip-1)->format : "%s"); in getargs() 133 ip->eol = (T ? (ip-1)->eol : '\n'); in getargs() 134 ip++; in getargs() 155 ip->pad = 1; in getargs() 179 ip->fp = NULL; in getargs() 191 if (ip->pad) { in pad() 207 if (ip->eof) in gatherline() [all …]
|