Home
last modified time | relevance | path

Searched full:ip (Results 1 – 25 of 3931) sorted by relevance

12345678910>>...158

/freebsd-src/contrib/netbsd-tests/ipf/expected/
H A Dn51 > 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 …]
H A Dn11 > 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 …]
H A Dn61 < 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 …]
H A Dn21 > 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 …]
H A Dn111 > 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 Dn41 < 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 …]
/freebsd-src/usr.bin/kdump/
H A Dlinux.c69 register_t *ip, *first; in ktrsyscall_linux() local
73 ip = first = &ktr->ktr_args[0]; in ktrsyscall_linux()
99 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_linux()
101 ip++; in ktrsyscall_linux()
110 print_number(ip, narg, c); in ktrsyscall_linux()
112 print_mask_arg(sysdecode_access_mode, *ip); in ktrsyscall_linux()
113 ip++; in ktrsyscall_linux()
120 print_number(ip, narg, c); in ktrsyscall_linux()
122 decode_filemode(*ip); in ktrsyscall_linux()
123 ip++; in ktrsyscall_linux()
[all …]
H A Dkdump.c833 register_t *ip; in ktrsyscall()
836 ip = &ktr->ktr_args[0]; in ktrsyscall()
842 ktrsyscall_freebsd(ktr, &ip, &narg, &c, in ktrsyscall()
849 ktrsyscall_linux32(ktr, &ip, in ktrsyscall()
853 ktrsyscall_linux(ktr, &ip, &narg, &c); in ktrsyscall_freebsd()
859 print_number(ip, narg, c); in ktrsyscall_freebsd()
870 register_t *ip, *first; in ktrsyscall_freebsd()
874 ip = first = &ktr->ktr_args[0]; in ktrsyscall_freebsd()
904 print_integer_arg_valid(sysdecode_atfd, *ip); in ktrsyscall_freebsd()
906 ip in ktrsyscall_freebsd()
820 register_t *ip; ktrsyscall() local
857 register_t *ip, *first; ktrsyscall_freebsd() local
[all...]
/freebsd-src/bin/stty/
H A Dkey.c97 ksearch(char ***argvp, struct info *ip) in ksearch() argument
104 ip->off = 1; in ksearch()
107 ip->off = 0; in ksearch()
113 if (!(kp->flags & F_OFFOK) && ip->off) { in ksearch()
117 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { in ksearch()
121 kp->f(ip); in ksearch()
126 f_all(struct info *ip) in f_all() argument
128 print(&ip->t, &ip->win, ip->ldisc, BSD); in f_all()
132 f_cbreak(struct info *ip) in f_cbreak() argument
135 if (ip->off) in f_cbreak()
[all …]
/freebsd-src/sbin/ipf/ipsend/
H A Diptests.c64 #include <netinet/ip.h>
94 ip_test1(char *dev, int mtu, ip_t *ip, struct in_addr gwip, int ptest) in ip_test1() argument
104 IP_HL_A(ip, sizeof(*ip) >> 2); in ip_test1()
105 IP_V_A(ip, IPVERSION); in ip_test1()
106 ip->ip_tos = 0; in ip_test1()
107 ip->ip_off = 0; in ip_test1()
108 ip->ip_ttl = 60; in ip_test1()
109 ip->ip_p = IPPROTO_UDP; in ip_test1()
110 ip in ip_test1()
440 ip_test2(dev,mtu,ip,gwip,ptest) ip_test2() argument
537 ip_test3(char * dev,int mtu,ip_t * ip,struct in_addr gwip,int ptest) ip_test3() argument
734 ip_test4(char * dev,int mtu,ip_t * ip,struct in_addr gwip,int ptest) ip_test4() argument
895 ip_test5(char * dev,int mtu,ip_t * ip,struct in_addr gwip,int ptest) ip_test5() argument
1239 ip_test6(char * dev,int mtu,ip_t * ip,struct in_addr gwip,int ptest) ip_test6() argument
1317 ip_test7(char * dev,int mtu,ip_t * ip,struct in_addr gwip,int ptest) ip_test7() argument
[all...]
H A Dip.c3 * ip.c (C) 1995-1998 Darren Reed
13 #include <netinet/ip.h>
77 send_ip(int nfd, int mtu, ip_t *ip, struct in_addr gwip, int frag) in send_ip() argument
112 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); in send_ip()
114 iplen = ip->ip_len; in send_ip()
115 ip->ip_len = htons(iplen); in send_ip()
117 if (!IP_V(ip)) in send_ip()
118 IP_V_A(ip, IPVERSION); in send_ip()
119 if (!ip in send_ip()
235 send_tcp(int nfd,int mtu,ip_t * ip,struct in_addr gwip) send_tcp() argument
286 send_udp(int nfd,int mtu,ip_t * ip,struct in_addr gwip) send_udp() argument
316 send_icmp(int nfd,int mtu,ip_t * ip,in_addr gwip) send_icmp() argument
332 ip_t *ip; global() variable
[all...]
/freebsd-src/sys/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable()
34 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTable()
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable()
82 size_t hl0; /* the long hash at ip */ in ZSTD_compressBlock_doubleFast_noDict_generic()
85 U32 idxl0; /* the long match index for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic()
88 const BYTE* matchl0; /* the long match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic()
89 const BYTE* matchs0; /* the short match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic()
92 const BYTE* ip = istart; /* the current position */ in ZSTD_compressBlock_doubleFast_noDict_generic() local
[all …]
/freebsd-src/sys/fs/ext2fs/
H A Dext2_inode_cnv.c145 ext2_ei2i(struct ext2fs_dinode *ei, struct inode *ip) in ext2_ei2i() argument
147 struct m_ext2fs *fs = ip->i_e2fs; in ext2_ei2i()
152 if ((ip->i_number < EXT2_FIRST_INO(fs) && ip->i_number != EXT2_ROOTINO) || in ext2_ei2i()
153 (ip->i_number < EXT2_ROOTINO) || in ext2_ei2i()
154 (ip->i_number > le32toh(fs->e2fs->e2fs_icount))) { in ext2_ei2i()
165 ip->i_nlink = le16toh(ei->e2di_nlink); in ext2_ei2i()
166 ip->i_mode = ip->i_nlink ? le16toh(ei->e2di_mode) : 0; in ext2_ei2i()
167 if (ip->i_number == EXT2_ROOTINO && in ext2_ei2i()
168 (ip->i_nlink < 2 || !S_ISDIR(ip->i_mode))) { in ext2_ei2i()
184 ip->i_size = le32toh(ei->e2di_size); in ext2_ei2i()
[all …]
H A Dext2_extents.c70 ext4_ext_blk_check(struct inode *ip, e4fs_daddr_t blk) in ext4_ext_blk_check() argument
74 fs = ip->i_e2fs; in ext4_ext_blk_check()
83 ext4_ext_walk_index(struct inode *ip, struct ext4_extent_index *ex, int depth, in ext4_ext_walk_index() argument
91 fs = ip->i_e2fs; in ext4_ext_walk_index()
103 error = ext4_ext_blk_check(ip, blk); in ext4_ext_walk_index()
107 if ((error = bread(ip->i_devvp, in ext4_ext_walk_index()
113 error = ext4_ext_walk_header(ip, in ext4_ext_walk_index()
122 ext4_ext_walk_extent(struct inode *ip, struct ext4_extent *ep) in ext4_ext_walk_extent() argument
128 error = ext4_ext_blk_check(ip, blk); in ext4_ext_walk_extent()
141 ext4_ext_walk_header(struct inode *ip, struct ext4_extent_header *eh, int depth) in ext4_ext_walk_header() argument
[all …]
/freebsd-src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable()
34 U32 const current = (U32)(ip - base); in ZSTD_fillDoubleHashTable()
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable()
63 const BYTE* ip = istart; in ZSTD_compressBlock_doubleFast_generic() local
97 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_generic()
109 ip += (dictAndPrefixLength == 0); in ZSTD_compressBlock_doubleFast_generic()
111 U32 const current = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_generic()
125 while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */ in ZSTD_compressBlock_doubleFast_generic()
[all …]
/freebsd-src/sbin/dhclient/
H A Ddhclient.c609 * destination: IP address to send sendpacket to
620 struct interface_info *ip = ipp; in state_reboot()
623 if (!ip->client->active || ip->client->active->is_bootp) { in state_reboot()
624 state_init(ip); in state_reboot()
629 ip->client->state = S_REBOOTING; in state_reboot()
634 ip->client->xid = arc4random(); in state_reboot()
638 make_request(ip, ip->client->active); in state_reboot()
639 ip in state_reboot()
613 struct interface_info *ip = ipp; state_reboot() local
650 struct interface_info *ip = ipp; state_init() local
675 struct interface_info *ip = ipp; state_selecting() local
764 struct interface_info *ip = packet->interface; dhcpack() local
854 bind_lease(struct interface_info * ip) bind_lease() argument
931 struct interface_info *ip = ipp; state_bound() local
1022 struct interface_info *ip = packet->interface; dhcpoffer() local
1141 struct interface_info *ip = packet->interface; packet_to_lease() local
1235 struct interface_info *ip = packet->interface; dhcpnak() local
1275 struct interface_info *ip = ipp; send_discover() local
1375 struct interface_info *ip = ipp; state_panic() local
1468 struct interface_info *ip = ipp; send_request() local
1595 struct interface_info *ip = ipp; send_decline() local
1606 make_discover(struct interface_info * ip,struct client_lease * lease) make_discover() argument
1719 make_request(struct interface_info * ip,struct client_lease * lease) make_request() argument
1852 make_decline(struct interface_info * ip,struct client_lease * lease) make_decline() argument
1977 write_client_lease(struct interface_info * ip,struct client_lease * lease,int rewrite) write_client_lease() argument
2080 struct interface_info *ip = ifi; priv_script_init() local
2108 struct interface_info *ip = ifi; priv_script_write_params() local
2336 struct interface_info *ip = ifi; priv_script_go() local
[all...]
/freebsd-src/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dfile.h31 #define spl_inode_lock(ip) inode_lock(ip)
32 #define spl_inode_unlock(ip) inode_unlock(ip) argument
33 #define spl_inode_lock_shared(ip) inode_lock_shared(ip) argument
34 #define spl_inode_unlock_shared(ip) inode_unlock_shared(ip) argument
35 #define spl_inode_trylock(ip) inode_trylock(ip) argument
36 spl_inode_trylock(ip) global() argument
37 spl_inode_trylock_shared(ip) global() argument
38 spl_inode_is_locked(ip) global() argument
39 spl_inode_lock_nested(ip,s) global() argument
41 spl_inode_lock(ip) global() argument
42 spl_inode_unlock(ip) global() argument
43 spl_inode_lock_shared(ip) global() argument
44 spl_inode_unlock_shared(ip) global() argument
45 spl_inode_trylock(ip) global() argument
46 spl_inode_trylock_shared(ip) global() argument
47 spl_inode_is_locked(ip) global() argument
48 spl_inode_lock_nested(ip,s) global() argument
[all...]
/freebsd-src/stand/libsa/
H A Dip.c51 #include <netinet/ip.h>
62 struct ip *ipq_hdr;
78 struct ip *ip_hdr;
84 /* Caller must leave room for ethernet and ip headers in front!! */
89 struct ip *ip; in sendip() local
104 ip = (struct ip *)pkt - 1; in sendip()
105 len += sizeof(*ip); in sendip()
107 bzero(ip, sizeof(*ip)); in sendip()
109 ip->ip_v = IPVERSION; /* half-char */ in sendip()
110 ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ in sendip()
[all …]
/freebsd-src/tests/sys/netinet/
H A Dip_reass_test.c38 #include <netinet/ip.h>
54 struct ip hdr;
59 update_cksum(struct ip *ip) in update_cksum() argument
65 ip->ip_sum = 0; in update_cksum()
66 cksump = (uint16_t *)ip; in update_cksum()
67 for (cksum = 0, i = 0; i < sizeof(*ip) / sizeof(*cksump); cksump++, i++) in update_cksum()
71 ip->ip_sum = htons((uint16_t)cksum); in update_cksum()
77 struct ip *ip; in alloc_lopacket() local
88 ip = &packet->hdr; in alloc_lopacket()
89 ip->ip_hl = sizeof(struct ip) >> 2; in alloc_lopacket()
[all …]
/freebsd-src/sys/ufs/ufs/
H A Dufs_vnops.c148 struct inode *ip; in ufs_itimes_locked() local
153 ip = VTOI(vp); in ufs_itimes_locked()
154 if (UFS_RDONLY(ip)) in ufs_itimes_locked()
156 if ((ip->i_flag & (IN_ACCESS | IN_CHANGE | IN_UPDATE)) == 0) in ufs_itimes_locked()
160 UFS_INODE_SET_FLAG(ip, IN_LAZYMOD); in ufs_itimes_locked()
163 (ip->i_flag & (IN_CHANGE | IN_UPDATE))) in ufs_itimes_locked()
164 UFS_INODE_SET_FLAG(ip, IN_MODIFIED); in ufs_itimes_locked()
165 else if (ip->i_flag & IN_ACCESS) in ufs_itimes_locked()
166 UFS_INODE_SET_FLAG(ip, IN_LAZYACCESS); in ufs_itimes_locked()
168 if (ip in ufs_itimes_locked()
189 struct inode *ip; ufs_itimes() local
218 struct inode *ip; ufs_sync_nlink() local
277 struct inode *ip; ufs_mknod() local
320 struct inode *ip; ufs_open() local
373 struct inode *ip = VTOI(vp); ufs_accessx() local
485 struct inode *ip; ufs_fplookup_vexec() local
517 struct inode *ip = VTOI(vp); ufs_stat() local
581 struct inode *ip = VTOI(vp); ufs_getattr() local
644 struct inode *ip = VTOI(vp); ufs_setattr() local
836 struct inode *ip; ufs_mmapped() local
858 struct inode *ip = VTOI(vp); ufs_chmod() local
915 struct inode *ip = VTOI(vp); ufs_chown() local
1030 struct inode *ip; ufs_remove() local
1097 struct inode *ip; ufs_link() local
1813 struct inode *ip = VTOI(tvp); ufs_do_posix1e_acl_inheritance_dir() local
1891 struct inode *ip = VTOI(tvp); ufs_do_posix1e_acl_inheritance_file() local
2006 struct inode *ip, *dp; ufs_mkdir() local
2263 struct inode *ip, *dp; ufs_rmdir() local
2365 struct inode *ip; ufs_symlink() local
2407 struct inode *ip; ufs_readdir() local
2543 struct inode *ip = VTOI(vp); ufs_readlink() local
2602 struct inode *ip = VTOI(vp); ufs_print() local
2748 struct inode *ip; ufs_vinit() local
2776 struct inode *ip, *pdir; ufs_makeinode() local
[all...]
H A Dinode.h169 #define UFS_INODE_SET_MODE(ip, mode) do { \
170 struct inode *_ip = (ip); \
177 #define UFS_INODE_SET_FLAG(ip, flags) do { \
178 struct inode *_ip = (ip); \
187 #define UFS_INODE_SET_FLAG_SHARED(ip, flags) do { \
188 struct inode *_ip = (ip); \
207 #define ITOUMP(ip) ((ip)->i_ump)
208 #define ITODEV(ip) (ITOUMP(ip)
172 UFS_INODE_SET_MODE(ip,mode) global() argument
180 UFS_INODE_SET_FLAG(ip,flags) global() argument
190 UFS_INODE_SET_FLAG_SHARED(ip,flags) global() argument
210 ITOUMP(ip) global() argument
211 ITODEV(ip) global() argument
212 ITODEVVP(ip) global() argument
213 ITOFS(ip) global() argument
214 ITOVFS(ip) global() argument
219 I_IS_UFS1(const struct inode * ip) I_IS_UFS1() argument
226 I_IS_UFS2(const struct inode * ip) I_IS_UFS2() argument
237 DIP(ip,field) global() argument
239 DIP_SET(ip,field,val) global() argument
245 DIP_SET_NLINK(ip,val) global() argument
252 IS_SNAPSHOT(ip) global() argument
267 ITOV(ip) global() argument
291 I_OFFSET(ip) global() argument
292 SET_I_OFFSET(ip,off) global() argument
296 I_COUNT(ip) global() argument
297 SET_I_COUNT(ip,cnt) global() argument
301 I_ENDOFF(ip) global() argument
302 SET_I_ENDOFF(ip,off) global() argument
305 I_OFFSET(ip) global() argument
306 SET_I_OFFSET(ip,off) global() argument
307 I_COUNT(ip) global() argument
308 SET_I_COUNT(ip,cnt) global() argument
309 I_ENDOFF(ip) global() argument
310 SET_I_ENDOFF(ip,off) global() argument
[all...]
/freebsd-src/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_inttab.c38 dt_inttab_t *ip; in dt_inttab_create() local
42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL || in dt_inttab_create()
43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) { in dt_inttab_create()
44 dt_free(dtp, ip); in dt_inttab_create()
48 ip->int_hdl = dtp; in dt_inttab_create()
49 ip->int_hashlen = len; in dt_inttab_create()
51 return (ip); in dt_inttab_create()
55 dt_inttab_destroy(dt_inttab_t *ip) in dt_inttab_destroy() argument
59 for (hp = ip->int_head; hp != NULL; hp = np) { in dt_inttab_destroy()
61 dt_free(ip->int_hdl, hp); in dt_inttab_destroy()
[all …]
/freebsd-src/sys/net/
H A Ddebugnet_inet.c51 #include <netinet/ip.h>
70 * Handler for IP packets: checks their sanity and then processes any debugnet
84 struct ip *ip; in debugnet_handle_ip() local
91 /* IP processing. */ in debugnet_handle_ip()
93 if (m->m_pkthdr.len < sizeof(struct ip)) { in debugnet_handle_ip()
94 DNETDEBUG("dropping packet too small for IP header\n"); in debugnet_handle_ip()
97 if (m->m_len < sizeof(struct ip)) { in debugnet_handle_ip()
98 m = m_pullup(m, sizeof(struct ip)); in debugnet_handle_ip()
105 ip = mtod(m, struct ip *); in debugnet_handle_ip()
107 /* IP version. */ in debugnet_handle_ip()
[all …]
/freebsd-src/sys/ufs/ffs/
H A Dffs_inode.c98 struct inode *ip; in ffs_update() local
104 ip = VTOI(vp); in ffs_update()
105 if ((ip->i_flag & IN_MODIFIED) == 0 && waitfor == 0) in ffs_update()
107 ip->i_flag &= ~(IN_LAZYACCESS | IN_LAZYMOD | IN_MODIFIED); in ffs_update()
127 ip->i_flag &= ~(IN_SIZEMOD | IN_IBLKDATA); in ffs_update()
128 fs = ITOFS(ip); in ffs_update()
144 if (IS_SNAPSHOT(ip)) in ffs_update()
146 bn = fsbtodb(fs, ino_to_fsba(fs, ip->i_number)); in ffs_update()
147 error = ffs_breadz(VFSTOUFS(vp->v_mount), ITODEVVP(ip), bn, bn, in ffs_update()
186 softdep_update_inodeblock(ip, bp, waitfor); in ffs_update()
[all …]
/freebsd-src/sys/contrib/openzfs/config/
H A Dkernel-inode-times.m411 struct inode ip;
14 ts = timestamp_truncate(ts, &ip);
20 dnl # inode_get_ctime(ip), inode_set_ctime*(ip) to
26 struct inode ip;
28 memset(&ip, 0, sizeof(ip));
29 inode_get_ctime(&ip);
35 struct inode ip;
38 memset(&ip,
[all...]

12345678910>>...158