Searched refs:ip (Results 51 - 75 of 1110) sorted by relevance

1234567891011>>

/freebsd-12-stable/sbin/natd/samples/
H A Dnatd.test10 ipfw add divert 32000 ip from any to any via $1
11 ipfw add pass ip from any to any
/freebsd-12-stable/tests/sys/netinet/
H A Dip_reass_test.c41 #include <netinet/ip.h>
57 struct ip hdr;
62 update_cksum(struct ip *ip) argument
68 ip->ip_sum = 0;
69 cksump = (uint16_t *)ip;
70 for (cksum = 0, i = 0; i < sizeof(*ip) / sizeof(*cksump); cksump++, i++)
74 ip->ip_sum = htons((uint16_t)cksum);
80 struct ip *ip; local
202 struct ip *ip; local
280 struct ip *ip; local
330 struct ip *ip; local
[all...]
/freebsd-12-stable/usr.sbin/fmtree/
H A Dspec.c166 set(char *t, NODE *ip) argument
177 ip->flags |= type = parsekey(kw, &value);
182 ip->cksum = strtoul(val, &ep, 10);
188 ip->md5digest = strdup(val);
189 if(!ip->md5digest)
193 ip->sha1digest = strdup(val);
194 if(!ip->sha1digest)
198 ip->sha256digest = strdup(val);
199 if(!ip->sha256digest)
203 ip
317 unset(char *t, NODE *ip) argument
[all...]
/freebsd-12-stable/sys/security/mac_veriexec/
H A Dveriexec_metadata.c105 struct mac_veriexec_file_info *ip, *tip; local
107 ip = NULL;
135 LIST_FOREACH_SAFE(ip, &(lp->file_head), entries, tip) {
136 if (ip->fileid == fileid) {
137 if (ip->gen == gen)
140 LIST_REMOVE(ip, entries);
141 free(ip, M_VERIEXEC);
150 return (ip);
172 struct mac_veriexec_file_info *ip; local
189 for (ip
205 struct mac_veriexec_file_info *ip; local
294 struct mac_veriexec_file_info *ip, *nip; local
446 struct mac_veriexec_file_info *ip; local
511 struct mac_veriexec_file_info *ip; local
619 struct mac_veriexec_file_info *ip; local
[all...]
/freebsd-12-stable/usr.sbin/makefs/ffs/
H A Dffs_balloc.c71 ffs_balloc(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument
73 if (ip->i_fs->fs_magic == FS_UFS2_MAGIC)
74 return ffs_balloc_ufs2(ip, offset, bufsize, bpp);
76 return ffs_balloc_ufs1(ip, offset, bufsize, bpp);
80 ffs_balloc_ufs1(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument
86 struct fs *fs = ip->i_fs;
111 lastlbn = lblkno(fs, ip->i_ffs1_size);
114 osize = blksize(fs, ip, nb);
126 nb = ufs_rw32(ip->i_ffs1_db[lbn], needswap);
127 if (nb != 0 && ip
332 ffs_balloc_ufs2(struct inode *ip, off_t offset, int bufsize, struct buf **bpp) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Dudivmodsi4.S48 // At the time of JMP, ip := .Ldiv0block - 12 * I.
57 clz ip, r0
59 // r0 >= r1 implies clz(r0) <= clz(r1), so ip <= r3.
60 sub r3, r3, ip
62 adr ip, LOCAL_LABEL(div0block) + 1
63 sub ip, ip, r3, lsl #1
65 adr ip, LOCAL_LABEL(div0block)
67 sub ip, ip, r
[all...]
/freebsd-12-stable/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzfs_fletcher.c150 const uint64_t *ip = buf; local
151 const uint64_t *ipend = ip + (size / sizeof (uint64_t));
159 for (; ip < ipend; ip += 2) {
160 a0 += ip[0];
161 a1 += ip[1];
184 const uint64_t *ip = buf; local
185 const uint64_t *ipend = ip + (size / sizeof (uint64_t));
193 for (; ip < ipend; ip
218 const uint32_t *ip = buf; local
252 const uint32_t *ip = buf; local
[all...]
/freebsd-12-stable/sys/arm/arm/
H A Dcpufunc_asm_armv5_ec.S78 ldr ip, .Larmv5_ec_line_size
81 ldr ip, [ip]
83 sub r3, ip, #1
90 add r0, r0, ip
91 subs r1, r1, ip
117 ldr ip, .Larmv5_ec_line_size
120 ldr ip, [ip]
122 sub r3, ip, #
[all...]
H A Dcpu_asm-v6.S42 * only r0-r3,r12 (ip) are modified and no stack space is used. These functions
71 mov ip, #1
72 lsl ip, ip, r1 /* ip now contains the way decr */
78 sub ip, ip, r2 /* subtract numsets - 1 from way decr */
81 mov r2, ip /* r2 now contains set way decr */
83 /* r3 = ways/sets, r2 = way decr, r1 = set decr, r0 and ip are free */
126 mov ip, #
[all...]
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_extents.c70 static void ext4_ext_print_header(struct inode *ip, struct ext4_extent_header *ehp);
73 ext4_ext_print_index(struct inode *ip, struct ext4_extent_index *ex, int do_walk) argument
79 fs = ip->i_e2fs;
87 if ((error = bread(ip->i_devvp,
94 ext4_ext_print_header(ip, (struct ext4_extent_header *)bp->b_data);
101 ext4_ext_print_header(struct inode *ip, struct ext4_extent_header *ehp) argument
111 ext4_ext_print_index(ip,
118 ext4_ext_print_path(struct inode *ip, struct ext4_extent_path *path) argument
124 printf("ip=%ju, Path:\n", ip
135 ext4_ext_print_extent_tree_status(struct inode *ip) argument
152 ext4_ext_inode_header(struct inode *ip) argument
166 ext4_ext_inode_depth(struct inode *ip) argument
214 ext4_ext_in_cache(struct inode *ip, daddr_t lbn, struct ext4_extent *ep) argument
234 ext4_ext_check_header(struct inode *ip, struct ext4_extent_header *eh) argument
366 ext4_ext_find_extent(struct inode *ip, daddr_t block, struct ext4_extent_path **ppath) argument
463 ext4_ext_space_root(struct inode *ip) argument
475 ext4_ext_space_block(struct inode *ip) argument
489 ext4_ext_space_block_index(struct inode *ip) argument
503 ext4_ext_tree_init(struct inode *ip) argument
519 ext4_ext_put_in_cache(struct inode *ip, uint32_t blk, uint32_t len, uint32_t start, int type) argument
532 ext4_ext_blkpref(struct inode *ip, struct ext4_extent_path *path, e4fs_daddr_t block) argument
586 ext4_ext_next_leaf_block(struct inode *ip, struct ext4_extent_path *path) argument
609 ext4_ext_dirty(struct inode *ip, struct ext4_extent_path *path) argument
639 ext4_ext_insert_index(struct inode *ip, struct ext4_extent_path *path, uint32_t lblk, e4fs_daddr_t blk) argument
686 ext4_ext_alloc_meta(struct inode *ip) argument
699 ext4_ext_blkfree(struct inode *ip, uint64_t blk, int count, int flags) argument
720 ext4_ext_split(struct inode *ip, struct ext4_extent_path *path, struct ext4_extent *newext, int at) argument
878 ext4_ext_grow_indepth(struct inode *ip, struct ext4_extent_path *path, struct ext4_extent *newext) argument
935 ext4_ext_create_new_leaf(struct inode *ip, struct ext4_extent_path *path, struct ext4_extent *newext) argument
989 ext4_ext_correct_indexes(struct inode *ip, struct ext4_extent_path *path) argument
1027 ext4_ext_insert_extent(struct inode *ip, struct ext4_extent_path *path, struct ext4_extent *newext) argument
1157 ext4_new_blocks(struct inode *ip, daddr_t lbn, e4fs_daddr_t pref, struct ucred *cred, unsigned long *count, int *perror) argument
1184 ext4_ext_get_blocks(struct inode *ip, e4fs_daddr_t iblk, unsigned long max_blocks, struct ucred *cred, struct buf **bpp, int *pallocated, daddr_t *nb) argument
1304 ext4_ext_header(struct inode *ip) argument
1311 ext4_remove_blocks(struct inode *ip, struct ext4_extent *ex, unsigned long from, unsigned long to) argument
1329 ext4_ext_rm_index(struct inode *ip, struct ext4_extent_path *path) argument
1345 ext4_ext_rm_leaf(struct inode *ip, struct ext4_extent_path *path, uint64_t start) argument
1435 ext4_read_extent_tree_block(struct inode *ip, e4fs_daddr_t pblk, int depth, int flags) argument
1487 ext4_ext_remove_space(struct inode *ip, off_t length, int flags, struct ucred *cred, struct thread *td) argument
[all...]
H A Dext2_extattr.h102 int ext2_extattr_inode_delete(struct inode *ip, int attrnamespace,
105 int ext2_extattr_block_delete(struct inode *ip, int attrnamespace,
108 int ext2_extattr_free(struct inode *ip);
109 int ext2_extattr_inode_list(struct inode *ip, int attrnamespace,
112 int ext2_extattr_block_list(struct inode *ip, int attrnamespace,
115 int ext2_extattr_inode_get(struct inode *ip, int attrnamespace,
118 int ext2_extattr_block_get(struct inode *ip, int attrnamespace,
121 int ext2_extattr_inode_set(struct inode *ip, int attrnamespace,
124 int ext2_extattr_block_set(struct inode *ip, int attrnamespace,
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c21 const BYTE* ip, const BYTE* iend,
32 U32 const target = (U32)(ip - base);
38 assert(ip + 8 <= iend); /* condition for ZSTD_hashPtr */
43 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); /* assumption : ip + 8 <= iend */
74 const BYTE* const ip = (current>=dictLimit) ? base + current : dictBase + current; local
88 assert(ip < iend); /* condition for ZSTD_count */
102 matchLength += ZSTD_count(ip+matchLength, match+matchLength, iend);
105 matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart);
113 if (ip+matchLength == iend) { /* equal : no way to know if inf or sup */
117 if (match[matchLength] < ip[matchLengt
19 ZSTD_updateDUBT( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, const BYTE* iend, U32 mls) argument
141 ZSTD_DUBT_findBestMatch( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* const ip, const BYTE* const iend, size_t* offsetPtr, U32 const mls, U32 const extDict) argument
275 ZSTD_BtFindBestMatch( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* const ip, const BYTE* const iLimit, size_t* offsetPtr, const U32 mls ) argument
288 ZSTD_BtFindBestMatch_selectMLS( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, const BYTE* const iLimit, size_t* offsetPtr) argument
305 ZSTD_BtFindBestMatch_extDict( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* const ip, const BYTE* const iLimit, size_t* offsetPtr, const U32 mls) argument
318 ZSTD_BtFindBestMatch_selectMLS_extDict( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, const BYTE* const iLimit, size_t* offsetPtr) argument
342 ZSTD_insertAndFindFirstIndex_internal( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, U32 const mls) argument
365 ZSTD_insertAndFindFirstIndex( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip) argument
375 ZSTD_HcFindBestMatch_generic( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* const ip, const BYTE* const iLimit, size_t* offsetPtr, const U32 mls, const U32 extDict) argument
426 ZSTD_HcFindBestMatch_selectMLS( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, const BYTE* const iLimit, size_t* offsetPtr) argument
442 ZSTD_HcFindBestMatch_extDict_selectMLS( ZSTD_matchState_t* ms, ZSTD_compressionParameters const* cParams, const BYTE* ip, const BYTE* const iLimit, size_t* const offsetPtr) argument
470 const BYTE* ip = istart; local
634 const BYTE* ip = istart; local
[all...]
/freebsd-12-stable/contrib/processor-trace/libipt/internal/include/
H A Dpt_last_ip.h38 /* Keeping track of the last-ip in Intel PT packets. */
41 uint64_t ip; member in struct:pt_last_ip
53 /* Initialize (or reset) the last-ip. */
56 /* Query the last-ip.
58 * If @ip is not NULL, provides the last-ip in @ip on success.
62 * Returns -pte_noip if there is no last-ip.
63 * Returns -pte_ip_suppressed if the last-ip has been suppressed.
65 extern int pt_last_ip_query(uint64_t *ip, cons
[all...]
H A Dpt_retstack.h69 * If @ip is not NULL, provides the topmost return address on success.
76 extern int pt_retstack_pop(struct pt_retstack *retstack, uint64_t *ip);
80 * Pushes @ip onto @retstack.
85 extern int pt_retstack_push(struct pt_retstack *retstack, uint64_t ip);
/freebsd-12-stable/sys/kern/
H A Dsysv_ipc.c197 freebsd32_ipcperm_old_in(struct ipc_perm32_old *ip32, struct ipc_perm *ip) argument
200 CP(*ip32, *ip, cuid);
201 CP(*ip32, *ip, cgid);
202 CP(*ip32, *ip, uid);
203 CP(*ip32, *ip, gid);
204 CP(*ip32, *ip, mode);
205 CP(*ip32, *ip, seq);
206 CP(*ip32, *ip, key);
210 freebsd32_ipcperm_old_out(struct ipc_perm *ip, struct ipc_perm32_old *ip32) argument
213 CP(*ip, *ip3
224 freebsd32_ipcperm_in(struct ipc_perm32 *ip32, struct ipc_perm *ip) argument
237 freebsd32_ipcperm_out(struct ipc_perm *ip, struct ipc_perm32 *ip32) argument
[all...]
/freebsd-12-stable/sbin/dhclient/
H A Dpacket.c51 #include <netinet/ip.h>
116 struct ip ip; local
119 ip.ip_v = 4;
120 ip.ip_hl = 5;
121 ip.ip_tos = IPTOS_LOWDELAY;
122 ip.ip_len = htons(sizeof(ip) + sizeof(udp) + len);
123 ip.ip_id = 0;
124 ip
167 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/ufs/ufs/
H A Dufs_vnops.c145 struct inode *ip; local
150 ip = VTOI(vp);
151 if (UFS_RDONLY(ip))
153 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0)
157 ip->i_flag |= IN_LAZYMOD;
160 (ip->i_flag & (IN_CHANGE | IN_UPDATE)))
161 ip->i_flag |= IN_MODIFIED;
162 else if (ip->i_flag & IN_ACCESS)
163 ip->i_flag |= IN_LAZYACCESS;
165 if (ip
231 struct inode *ip; local
273 struct inode *ip; local
325 struct inode *ip = VTOI(vp); local
434 struct inode *ip = VTOI(vp); local
497 struct inode *ip = VTOI(vp); local
690 struct inode *ip = VTOI(vp); local
712 struct inode *ip = VTOI(vp); local
772 struct inode *ip = VTOI(vp); local
887 struct inode *ip; local
949 struct inode *ip; local
984 softdep_setup_link(VTOI(tdvp), ip); local
997 softdep_revert_link(VTOI(tdvp), ip); local
1570 struct inode *ip = VTOI(tvp); local
1648 struct inode *ip = VTOI(tvp); local
1763 struct inode *ip, *dp; local
2007 struct inode *ip, *dp; local
2102 struct inode *ip; local
2144 struct inode *ip; local
2278 struct inode *ip = VTOI(vp); local
2337 struct inode *ip = VTOI(vp); local
2502 struct inode *ip; local
2534 struct inode *ip, *pdir; local
2631 softdep_setup_create(VTOI(dvp), ip); local
2687 softdep_revert_create(VTOI(dvp), ip); local
[all...]
/freebsd-12-stable/contrib/processor-trace/libipt/src/
H A Dpt_retstack.c51 int pt_retstack_pop(struct pt_retstack *retstack, uint64_t *ip) argument
67 if (ip)
68 *ip = retstack->stack[top];
73 int pt_retstack_push(struct pt_retstack *retstack, uint64_t ip) argument
83 retstack->stack[top] = ip;
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-sl.c33 #include "ip.h"
55 static int sliplink_print(netdissect_options *, const u_char *, const struct ip *, u_int);
56 static int compressed_sl_print(netdissect_options *, const u_char *, const struct ip *, u_int, int);
64 register const struct ip *ip; local
74 ip = (const struct ip *)(p + SLIP_HDRLEN);
77 if (sliplink_print(ndo, p, ip, length) == -1) {
87 switch (IP_V(ip)) {
89 ip_print(ndo, (const u_char *)ip, lengt
107 register const struct ip *ip; local
129 sliplink_print(netdissect_options *ndo, register const u_char *p, register const struct ip *ip, register u_int length) argument
236 compressed_sl_print(netdissect_options *ndo, const u_char *chdr, const struct ip *ip, u_int length, int dir) argument
[all...]
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_inode.c88 struct inode *ip; local
93 ip = VTOI(vp);
94 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0)
96 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED);
116 ip->i_flag &= ~(IN_SIZEMOD | IN_IBLKDATA);
117 fs = ITOFS(ip);
118 if (fs->fs_ronly && ITOUMP(ip)->um_fsckpid == 0)
132 if (IS_SNAPSHOT(ip))
135 error = bread_gb(ITODEVVP(ip),
136 fsbtodb(fs, ino_to_fsba(fs, ip
207 struct inode *ip; local
795 ffs_rdonly(struct inode *ip) argument
[all...]
/freebsd-12-stable/contrib/amd/wire-test/
H A Dwire-test.c57 struct sockaddr_in *ip; local
94 ip = (struct sockaddr_in *) xmalloc(sizeof(struct sockaddr_in));
95 memset((voidp) ip, 0, sizeof(*ip));
97 ip->sin_family = AF_INET;
98 memmove((voidp) &ip->sin_addr, (voidp) hp->h_addr, sizeof(ip->sin_addr));
99 ip->sin_port = htons(NFS_PORT);
105 ret = get_nfs_version(testhost, ip, nv, proto, 0);
115 ret = get_nfs_version(testhost, ip, n
[all...]
/freebsd-12-stable/sys/netinet/
H A Dip_options.c62 #include <netinet/ip.h>
104 struct ip *ip = mtod(m, struct ip *); local
123 dst = ip->ip_dst;
124 cp = (u_char *)(ip + 1);
125 cnt = (ip->ip_hl << 2) - sizeof (struct ip);
134 code = &cp[IPOPT_OLEN] - (u_char *)ip;
139 code = &cp[IPOPT_OLEN] - (u_char *)ip;
488 struct ip *ip = mtod(m, struct ip *); local
514 struct ip *ip = mtod(m, struct ip *); local
560 ip_optcopy(struct ip *ip, struct ip *jp) argument
724 struct ip *ip = mtod(m, struct ip *); local
[all...]
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dip_netbios_pxy.c79 ip_t *ip; local
93 ip = fin->fin_ip;
95 off = (char *)udp - (char *)ip + sizeof(*udp) + fin->fin_ipoff;
99 * ip header;
108 dgmbuf[0] = (char)((ip->ip_src.s_addr ) &0xFF);
109 dgmbuf[1] = (char)((ip->ip_src.s_addr >> 8) &0xFF);
110 dgmbuf[2] = (char)((ip->ip_src.s_addr >> 16)&0xFF);
111 dgmbuf[3] = (char)((ip->ip_src.s_addr >> 24)&0xFF);
/freebsd-12-stable/sys/sparc64/include/
H A Din_cksum.h72 in_cksum_update(struct ip *ip) argument
76 __tmp = (int)ip->ip_sum + 1;
77 ip->ip_sum = __tmp + (__tmp >> 16);
115 in_cksum_hdr(struct ip *ip) argument
123 * This may read outside of the ip header, but does not cross a page
167 "=&r" (__tmp4) : "1" (ip) : "cc");
/freebsd-12-stable/usr.bin/mail/
H A Dcmd1.c154 int *ip; local
156 for (ip = msgvec; *ip != 0; ip++)
157 printhead(*ip);
158 if (--ip >= msgvec)
159 dot = &message[*ip - 1];
296 int nlines, *ip; local
308 for (ip = msgvec; *ip
369 int *ip; local
411 int *ip; local
428 int *ip; local
[all...]

Completed in 508 milliseconds

1234567891011>>