Searched refs:ip (Results 251 - 275 of 1028) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/fs/cd9660/
H A Dcd9660_node.h79 #define ITOV(ip) ((ip)->i_vnode)
/freebsd-11-stable/sys/dev/scc/
H A Dscc_dev_z8530.c121 uint8_t bes, ip, src; local
130 ip = scc_getmreg(bas, CHAN_A, RR_IP);
131 if (ip & IP_RIA)
133 if (ip & IP_RIB)
135 if (ip & IP_TIA)
137 if (ip & IP_TIB)
139 if (ip & IP_SIA) {
155 if (ip & IP_SIB) {
/freebsd-11-stable/usr.sbin/ppp/
H A Dslcompress.h119 struct ip csu_ip; /* ip/tcp hdr from most recent packet */
157 extern u_char sl_compress_tcp(struct mbuf *, struct ip *, struct slcompress *,
H A Dradius.h52 struct in_addr ip; /* FRAMED IP */ member in struct:radius
94 } ip; member in union:radacct::__anon8891
/freebsd-11-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
/freebsd-11-stable/sys/netpfil/pf/
H A Dif_pflog.c67 #include <netinet/ip.h>
250 struct ip *ip; local
252 ip = mtod(m, struct ip *);
253 ip->ip_sum = 0;
254 ip->ip_sum = in_cksum(m, ip->ip_hl << 2);
H A Dpf_osfp.c31 #include <netinet/ip.h>
52 static struct pf_osfp_enlist *pf_osfp_fingerprint_hdr(const struct ip *,
73 struct ip *ip; local
82 ip = mtod(m, struct ip *);
85 ip = (struct ip *)NULL;
91 return (pf_osfp_fingerprint_hdr(ip, ip6, (struct tcphdr *)hdr));
95 pf_osfp_fingerprint_hdr(const struct ip *i argument
[all...]
/freebsd-11-stable/sys/fs/ext2fs/
H A Dext2_vfsops.c483 struct inode *ip; local
554 ip = VTOI(vp);
555 error = bread(devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)),
564 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number)), ip);
866 struct inode *ip; local
887 ip = VTOI(vp);
888 if ((ip->i_flag &
941 struct inode *ip; local
955 ip
1051 struct inode *ip; local
[all...]
H A Dext2_lookup.c138 struct inode *ip; local
151 ip = VTOI(vp);
157 if (uio->uio_offset >= ip->i_size)
159 else if (ip->i_size - uio->uio_offset < ncookies)
160 ncookies = ip->i_size - uio->uio_offset;
174 uio->uio_offset < ip->i_size) {
178 if (bp->b_offset + bp->b_bcount > ip->i_size)
179 readcnt = ip->i_size - bp->b_offset;
263 *ap->a_eofflag = ip->i_size <= uio->uio_offset;
704 ext2_search_dirblock(struct inode *ip, voi argument
800 ext2_dirbad(struct inode *ip, doff_t offset, char *how) argument
866 ext2_direnter(struct inode *ip, struct vnode *dvp, struct componentname *cnp) argument
1103 ext2_dirrewrite(struct inode *dp, struct inode *ip, struct componentname *cnp) argument
1134 ext2_dirempty(struct inode *ip, ino_t parentino, struct ucred *cred) argument
[all...]
H A Dext2_acl.c55 ext2_sync_acl_from_inode(struct inode *ip, struct acl *acl) argument
71 ACL_USER_OBJ, ip->i_mode);
82 ACL_OTHER, ip->i_mode);
108 ACL_GROUP_OBJ, ip->i_mode);
114 ip->i_mode);
119 ext2_sync_inode_from_acl(struct acl *acl, struct inode *ip) argument
122 ip->i_mode &= ACL_PRESERVE_MASK;
123 ip->i_mode |= acl_posix1e_acl_to_mode(acl);
354 struct inode *ip = VTOI(ap->a_vp); local
393 if (ip
[all...]
H A Dext2_subr.c59 * directory "ip". If "res" is non-zero, fill it in with a pointer to the
65 struct inode *ip; local
74 ip = VTOI(vp);
75 fs = ip->i_e2fs;
77 bsize = blksize(fs, ip, lbn);
84 if (!(ip->i_flag & IN_E4EXTENTS))
88 if (ext4_ext_find_extent(fs, ip, lbn, &path) == NULL)
101 error = bread(ip->i_devvp, fsbtodb(fs, newblk), bsize, NOCRED, &bp);
/freebsd-11-stable/lib/libc/db/btree/
H A Dbt_delete.c373 indx_t cnt, idx, *ip, offset; local
428 for (cnt = idx, ip = &pg->linp[0]; cnt--; ++ip)
429 if (ip[0] < offset)
430 ip[0] += nksize;
431 for (cnt = NEXTINDEX(pg) - idx; --cnt; ++ip)
432 ip[0] = ip[1] < offset ? ip[1] + nksize : ip[
465 indx_t cnt, *ip, offset; local
[all...]
/freebsd-11-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-11-stable/sys/dev/iscsi/
H A Dicl_soft.c209 icl_soft_conn_pdu_free(struct icl_conn *ic, struct icl_pdu *ip) argument
212 m_freem(ip->ip_bhs_mbuf);
213 m_freem(ip->ip_ahs_mbuf);
214 m_freem(ip->ip_data_mbuf);
215 uma_zfree(icl_pdu_zone, ip);
227 struct icl_pdu *ip; local
232 ip = uma_zalloc(icl_pdu_zone, flags | M_ZERO);
233 if (ip == NULL) {
234 ICL_WARN("failed to allocate %zd bytes", sizeof(*ip));
240 ip
295 icl_pdu_padding(const struct icl_pdu *ip) argument
1105 icl_soft_conn_pdu_get_data(struct icl_conn *ic, struct icl_pdu *ip, size_t off, void *addr, size_t len) argument
1113 icl_pdu_queue(struct icl_pdu *ip) argument
1142 icl_soft_conn_pdu_queue(struct icl_conn *ic, struct icl_pdu *ip) argument
1425 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-11-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-11-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 *);
803 struct ip *ip = (struct ip *)pktattr->pattr_hdr; local
805 if (ip->ip_v != 4)
807 ds_field = ip->ip_tos;
847 struct ip *i local
1066 struct ip *ip; local
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-dccp.c24 #include "ip.h"
200 static int dccp_cksum(netdissect_options *ndo, const struct ip *ip, argument
203 return nextproto4_cksum(ndo, ip, (const uint8_t *)(const void *)dh, len,
266 * @len - lenght of ip packet
272 const struct ip *ip; local
282 ip = (const struct ip *)data2;
283 if (IP_V(ip)
[all...]
/freebsd-11-stable/sys/netinet/
H A Digmp.c81 #include <netinet/ip.h>
104 static int igmp_input_v1_query(struct ifnet *, const struct ip *,
106 static int igmp_input_v2_query(struct ifnet *, const struct ip *,
108 static int igmp_input_v3_query(struct ifnet *, const struct ip *,
112 static int igmp_input_v1_report(struct ifnet *, /*const*/ struct ip *,
114 static int igmp_input_v2_report(struct ifnet *, /*const*/ struct ip *,
704 igmp_input_v1_query(struct ifnet *ifp, const struct ip *ip, argument
718 if (!in_allhosts(ip->ip_dst) || !in_nullhost(igmp->igmp_group)) {
789 igmp_input_v2_query(struct ifnet *ifp, const struct ip *i argument
941 igmp_input_v3_query(struct ifnet *ifp, const struct ip *ip, struct igmpv3 *igmpv3) argument
1207 igmp_input_v1_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument
1318 igmp_input_v2_report(struct ifnet *ifp, struct ip *ip, struct igmp *igmp) argument
1431 struct ip *ip; local
2198 struct ip *ip; local
3497 struct ip *ip; local
[all...]
H A Dip_id.c92 #include <netinet/ip.h>
108 static MALLOC_DEFINE(M_IPID, "ipid", "randomized ip id state");
242 ip_fillid(struct ip *ip) argument
251 if (V_ip_rfc6864 && (ip->ip_off & htons(IP_DF)) == htons(IP_DF))
252 ip->ip_id = 0;
254 ip->ip_id = ip_randomid();
271 ip->ip_id = htons((*(uint64_t *)zpcpu_get(V_ip_id)) & 0xffff);
/freebsd-11-stable/sys/fs/nandfs/
H A Dbmap.c69 struct nandfs_inode *ip; local
77 ip = &node->nn_inode;
87 *vblk = ip->i_db[lblk];
91 DPRINTF(BMAP, ("%s: node %p lblk=%jx trying ip->i_ib[%x]\n", __func__,
93 daddr = ip->i_ib[ap->in_off];
181 struct nandfs_inode *ip; local
191 ip = &node->nn_inode;
206 ip->i_db[lblk] = vblk;
217 ip->i_ib[ap->in_off] = vblk;
222 daddr = ip
401 struct nandfs_inode *ip; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c714 } ip; member in struct:swrap_packet
746 if (sizeof(p.ip.hdr) != SWRAP_PACKET__IP_HDR_SIZE) {
749 if (sizeof(p.ip.p.tcp) != SWRAP_PACKET__IP_P_TCP_SIZE) {
752 if (sizeof(p.ip.p.udp) != SWRAP_PACKET__IP_P_UDP_SIZE) {
755 if (sizeof(p.ip.p.icmp) != SWRAP_PACKET__IP_P_ICMP_SIZE) {
797 wire_hdr_len = sizeof(packet->ip.hdr) + sizeof(packet->ip.p.tcp);
803 wire_hdr_len = sizeof(packet->ip.hdr) + sizeof(packet->ip.p.udp);
814 icmp_hdr_len = sizeof(packet->ip
[all...]
/freebsd-11-stable/sys/i386/i386/
H A Dperfmon.c340 int *ip; local
364 ip = (int *)param;
365 rv = perfmon_start(*ip);
372 ip = (int *)param;
373 rv = perfmon_stop(*ip);
380 ip = (int *)param;
381 rv = perfmon_reset(*ip);
/freebsd-11-stable/sbin/ggate/ggated/
H A Dggated.c123 ip2str(in_addr_t ip) argument
128 ((ip >> 24) & 0xff),
129 ((ip >> 16) & 0xff),
130 ((ip >> 8) & 0xff),
131 (ip & 0xff));
156 in_addr_t ip, mask; local
158 ip = mask = flags = vmask = 0;
166 ip = g_gate_str2ip(strsep(&word, "/"));
167 if (ip == INADDR_NONE) {
171 ip
367 in_addr_t ip; local
437 in_addr_t ip; local
477 in_addr_t ip; local
828 in_addr_t ip; local
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap.c592 ng_l2cap_l2ca_con_ind_ip *ip = NULL; local
598 if (msg->header.arglen != sizeof(*ip))
601 ip = (ng_l2cap_l2ca_con_ind_ip *)(msg->data);
609 ip->bdaddr.b[5], ip->bdaddr.b[4], ip->bdaddr.b[3],
610 ip->bdaddr.b[2], ip->bdaddr.b[1], ip->bdaddr.b[0],
611 ip
963 ng_l2cap_l2ca_cfg_ind_ip *ip = NULL; local
1105 ng_l2cap_l2ca_discon_ind_ip *ip = NULL; local
1235 ng_l2cap_l2ca_con_ip *ip = NULL; local
1271 ng_l2cap_l2ca_con_rsp_ip *ip = NULL; local
1305 ng_l2cap_l2ca_cfg_ip *ip = NULL; local
1341 ng_l2cap_l2ca_cfg_rsp_ip *ip = NULL; local
1376 ng_l2cap_l2ca_discon_ip *ip = NULL; local
[all...]

Completed in 399 milliseconds

<<11121314151617181920>>