Searched refs:ip (Results 276 - 300 of 1110) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/sys/netinet/
H A Dip_divert.c66 #include <netinet/ip.h>
189 struct ip *ip; local
203 if (m->m_len < sizeof(struct ip) &&
204 (m = m_pullup(m, sizeof(struct ip))) == NULL)
206 ip = mtod(m, struct ip *);
215 sctp_delayed_cksum(m, (uint32_t)(ip->ip_hl << 2));
317 struct ip *const ip local
[all...]
H A Dip_gre.c63 #include <netinet/ip.h>
159 const struct ip *ip; local
166 ip = mtod(m, const struct ip *);
167 CK_LIST_FOREACH(sc, &GRE_HASH(ip->ip_dst.s_addr,
168 ip->ip_src.s_addr), chain) {
173 if (sc->gre_oip.ip_src.s_addr == ip->ip_dst.s_addr &&
174 sc->gre_oip.ip_dst.s_addr == ip->ip_src.s_addr) {
384 sc->gre_oip.ip_hl = sizeof(struct ip) >>
452 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/ufs/ufs/
H A Dufs_quota.c111 getinoquota(struct inode *ip) argument
117 vp = ITOV(ip);
129 if ((int)ip->i_uid < 0 || (int)ip->i_gid < 0)
137 dqget(vp, ip->i_uid, ump, USRQUOTA, &ip->i_dquot[USRQUOTA])) &&
145 dqget(vp, ip->i_gid, ump, GRPQUOTA, &ip->i_dquot[GRPQUOTA])) &&
155 chkdq(struct inode *ip, ufs2_daddr_t change, struct ucred *cred, int flags) argument
159 struct vnode *vp = ITOV(ip);
255 chkdqchg(struct inode *ip, ufs2_daddr_t change, struct ucred *cred, int type, int *warn) argument
310 chkiq(struct inode *ip, int change, struct ucred *cred, int flags) argument
394 chkiqchg(struct inode *ip, int change, struct ucred *cred, int type, int *warn) argument
450 chkdquot(struct inode *ip) argument
658 struct inode *ip; local
1694 struct inode *ip; local
[all...]
/freebsd-12-stable/lib/libc/arm/
H A DSYS.h45 mov ip, r7; \
48 mov r7, ip
/freebsd-12-stable/sys/fs/cd9660/
H A Dcd9660_node.h81 #define ITOV(ip) ((ip)->i_vnode)
/freebsd-12-stable/sys/dev/scc/
H A Dscc_dev_z8530.c123 uint8_t bes, ip, src; local
132 ip = scc_getmreg(bas, CHAN_A, RR_IP);
133 if (ip & IP_RIA)
135 if (ip & IP_RIB)
137 if (ip & IP_TIA)
139 if (ip & IP_TIB)
141 if (ip & IP_SIA) {
157 if (ip & IP_SIB) {
/freebsd-12-stable/sys/net/
H A Dslcompress.h123 struct ip csu_ip; /* ip/tcp hdr from most recent packet */
155 u_int sl_compress_tcp(struct mbuf *, struct ip *, struct slcompress *, int);
/freebsd-12-stable/sys/netinet/libalias/
H A Dalias_mod.h86 int (*protohandler)(struct libalias *, struct ip *,
97 int find_handler(int8_t, int8_t, struct libalias *, struct ip *,
/freebsd-12-stable/sys/netpfil/pf/
H A Dif_pflog.c69 #include <netinet/ip.h>
252 struct ip *ip; local
254 ip = mtod(m, struct ip *);
255 ip->ip_sum = 0;
256 ip->ip_sum = in_cksum(m, ip->ip_hl << 2);
H A Dpf_osfp.c33 #include <netinet/ip.h>
54 static struct pf_osfp_enlist *pf_osfp_fingerprint_hdr(const struct ip *,
75 struct ip *ip; local
84 ip = mtod(m, struct ip *);
87 ip = (struct ip *)NULL;
93 return (pf_osfp_fingerprint_hdr(ip, ip6, (struct tcphdr *)hdr));
97 pf_osfp_fingerprint_hdr(const struct ip *i argument
[all...]
/freebsd-12-stable/crypto/openssh/
H A Daudit-linux.c43 const char *ip, const char *ttyn, int success)
56 username == NULL ? uid : -1, hostname, ip, ttyn, success);
42 linux_audit_record_event(int uid, const char *username, const char *hostname, const char *ip, const char *ttyn, int success) argument
H A Dhostfile.h48 const char *host, const char *ip, struct sshkey **keys, size_t nkeys,
106 const char *host, const char *ip, u_int options);
/freebsd-12-stable/usr.sbin/periodic/etc/security/
H A D550.ipfwlimit47 IPFW_VERBOSE=`sysctl -n net.inet.ip.fw.verbose 2> /dev/null`
/freebsd-12-stable/usr.sbin/ppp/
H A Dradius.h52 struct in_addr ip; /* FRAMED IP */ member in struct:radius
94 } ip; member in union:radacct::__anon17603
H A Dslcompress.h121 struct ip csu_ip; /* ip/tcp hdr from most recent packet */
159 extern u_char sl_compress_tcp(struct mbuf *, struct ip *, struct slcompress *,
/freebsd-12-stable/lib/libc/db/btree/
H A Dbt_delete.c375 indx_t cnt, idx, *ip, offset; local
430 for (cnt = idx, ip = &pg->linp[0]; cnt--; ++ip)
431 if (ip[0] < offset)
432 ip[0] += nksize;
433 for (cnt = NEXTINDEX(pg) - idx; --cnt; ++ip)
434 ip[0] = ip[1] < offset ? ip[1] + nksize : ip[
467 indx_t cnt, *ip, offset; local
[all...]
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_extern.h57 e4fs_daddr_t ext2_alloc_meta(struct inode *ip);
69 void ext2_dirbad(struct inode *ip, doff_t offset, char *how);
117 struct ext2fs_direct_tail *ext2_dirent_get_tail(struct inode *ip,
120 int ext2_dirent_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep);
122 int ext2_dx_csum_verify(struct inode *ip, struct ext2fs_direct_2 *ep);
H A Dext2_subr.c63 * directory "ip". If "res" is non-zero, fill it in with a pointer to the
69 struct inode *ip; local
75 ip = VTOI(vp);
76 fs = ip->i_e2fs;
78 bsize = blksize(fs, ip, lbn);
84 error = ext2_dir_blk_csum_verify(ip, bp);
H A Dext2_lookup.c155 struct inode *ip; local
168 ip = VTOI(vp);
174 if (uio->uio_offset >= ip->i_size)
176 else if (ip->i_size - uio->uio_offset < ncookies)
177 ncookies = ip->i_size - uio->uio_offset;
191 uio->uio_offset < ip->i_size) {
195 if (bp->b_offset + bp->b_bcount > ip->i_size)
196 readcnt = ip->i_size - bp->b_offset;
282 *ap->a_eofflag = ip->i_size <= uio->uio_offset;
720 ext2_search_dirblock(struct inode *ip, voi argument
816 ext2_dirbad(struct inode *ip, doff_t offset, char *how) argument
937 ext2_direnter(struct inode *ip, struct vnode *dvp, struct componentname *cnp) argument
1152 ext2_dirrewrite(struct inode *dp, struct inode *ip, struct componentname *cnp) argument
1184 ext2_dirempty(struct inode *ip, ino_t parentino, struct ucred *cred) argument
[all...]
/freebsd-12-stable/sys/netipsec/
H A Dipsec_input.c69 #include <netinet/ip.h>
173 m_copydata(m, offsetof(struct ip, ip_dst),
248 offsetof(struct ip, ip_p), AF_INET, proto);
285 struct ip *ip; local
311 ip = mtod(m, struct ip *);
312 ip->ip_len = htons(m->m_pkthdr.len);
313 ip->ip_sum = 0;
314 ip
[all...]
/freebsd-12-stable/contrib/processor-trace/libipt/test/src/
H A Dptunit-query.c58 /* For tracking last-ip in tests. */
108 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
113 ptu_uint_eq(addr, ip);
146 uint64_t sync[3], offset, ip; local
178 errcode = pt_qry_sync_backward(decoder, &ip);
185 errcode = pt_qry_sync_backward(decoder, &ip);
192 errcode = pt_qry_sync_backward(decoder, &ip);
199 errcode = pt_qry_sync_backward(decoder, &ip);
210 uint64_t sync[3], offset, ip; local
268 uint64_t sync[3], offset, ip; local
326 uint64_t sync[3], offset, ip; local
385 uint64_t sync[2], offset, ip; local
446 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
464 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
539 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
559 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
580 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
603 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
626 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
650 uint64_t ip = pt_dfix_bad_ip, addr = ip; local
2159 uint64_t ip; local
[all...]
/freebsd-12-stable/sys/dev/iscsi/
H A Dicl_soft.c158 icl_soft_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument
161 m_freem(ip->ip_bhs_mbuf);
162 m_freem(ip->ip_ahs_mbuf);
163 m_freem(ip->ip_data_mbuf);
164 uma_zfree(icl_pdu_zone, ip);
176 struct icl_pdu *ip; local
181 ip = uma_zalloc(icl_pdu_zone, flags | M_ZERO);
182 if (ip == NULL) {
183 ICL_WARN("failed to allocate %zd bytes", sizeof(*ip));
189 ip
244 icl_pdu_padding(const struct icl_pdu *ip) argument
1029 icl_soft_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument
1037 icl_pdu_queue(struct icl_pdu *ip) argument
1066 icl_soft_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument
1352 icl_soft_conn_task_setup(struct icl_conn *ic, struct icl_pdu *ip, struct ccb_scsiio *csio, uint32_t *task_tagp, void **prvp) argument
[all...]
/freebsd-12-stable/sys/contrib/ipfilter/netinet/
H A Dip_irc_pxy.c268 ip_t *ip; local
276 ip = fin->fin_ip;
279 off = (char *)tcp - (char *)ip + (TCP_OFF(tcp) << 2) + fin->fin_ipoff;
307 a1 = ntohl(ip->ip_src.s_addr);
372 ipf_fix_outcksum(0, &ip->ip_sum, sum2, 0);
375 ip->ip_len = htons(fin->fin_plen);
400 ip->ip_dst);
417 swip = ip->ip_src;
418 ip->ip_src = nat->nat_nsrcip;
431 ip
[all...]
H A Dip_pool.c144 i6addr_t ip; local
149 bzero((char *)&ip, sizeof(ip));
191 ip.in4.s_addr = 0x0a00aabb;
192 printf("search(%#x) = %d (0)\n", ip.in4.s_addr,
193 ipf_pool_search(ipo, 4, &ip, 1));
195 ip.in4.s_addr = 0x0a000001;
196 printf("search(%#x) = %d (0)\n", ip.in4.s_addr,
197 ipf_pool_search(ipo, 4, &ip, 1));
199 ip
[all...]
/freebsd-12-stable/sys/net/altq/
H A Daltq_subr.c55 #include <netinet/ip.h>
94 static int extract_ports4(struct mbuf *, struct ip *, struct flowinfo_in *);
113 static void ip4f_cache(struct ip *, struct flowinfo_in *);
114 static int ip4f_lookup(struct ip *, struct flowinfo_in *);
793 struct ip *ip = (struct ip *)pktattr->pattr_hdr; local
795 if (ip->ip_v != 4)
797 ds_field = ip->ip_tos;
837 struct ip *i local
1056 struct ip *ip; local
[all...]

Completed in 320 milliseconds

<<11121314151617181920>>