Searched refs:ip (Results 176 - 200 of 1110) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/netinet/
H A Dip_reass.c59 #include <netinet/ip.h>
184 struct ip *ip; local
211 ip = mtod(m, struct ip *);
212 hlen = ip->ip_hl << 2;
218 ip->ip_len = htons(ntohs(ip->ip_len) - hlen);
224 if (ip->ip_len == htons(0) ||
225 ((ip
[all...]
H A Draw_ip.c73 #include <netinet/ip.h>
125 int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
232 rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n, argument
251 if (last->inp_ip_minttl && last->inp_ip_minttl > ip->ip_ttl)
260 ip_savecontrol(last, &opts, ip, n);
285 struct ip *ip = mtod(m, struct ip *); local
296 ripsrc.sin_addr = ip
450 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/security/mac_veriexec/
H A Dveriexec_fingerprint.c128 * @param ip file info from the meta-data store
136 evaluate_fingerprint(struct vnode *vp, struct mac_veriexec_file_info *ip, argument
146 ctx = malloc(ip->ops->context_size, M_VERIEXEC, M_WAITOK);
148 (ip->ops->init)(ctx);
162 (ip->ops->update)(ctx, filebuf, nread);
164 (ip->ops->final)(fingerprint, ctx);
167 for (offset = 0; offset < ip->ops->digest_len; offset++)
185 * @param ip file info from the meta-data store
191 fingerprintcmp(struct mac_veriexec_file_info *ip, unsigned char *digest) argument
194 return memcmp(ip
210 mac_veriexec_fingerprint_check_vnode(struct vnode *vp, struct mac_veriexec_file_info *ip, struct thread *td, off_t file_size, unsigned char *fingerprint) argument
[all...]
/freebsd-12-stable/sys/netinet/libalias/
H A Dalias.c133 #include <netinet/ip.h>
265 static int IcmpAliasIn1(struct libalias *, struct ip *);
266 static int IcmpAliasIn2(struct libalias *, struct ip *);
267 static int IcmpAliasIn(struct libalias *, struct ip *);
269 static int IcmpAliasOut1(struct libalias *, struct ip *, int create);
270 static int IcmpAliasOut2(struct libalias *, struct ip *);
271 static int IcmpAliasOut(struct libalias *, struct ip *, int create);
274 struct ip *pip, u_char ip_p, u_short *ip_sum);
275 static int ProtoAliasOut(struct libalias *la, struct ip *pip,
279 static int UdpAliasIn(struct libalias *, struct ip *);
336 struct ip *ip; local
525 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_ldm.c317 BYTE const* ip = istart; local
322 while (ip <= ilimit) {
324 U32 const current = (U32)(ip - base);
327 if (ip != istart) {
332 rollingHash = ZSTD_ldm_getRollingHash(ip, minMatchLength);
334 lastHashed = ip;
338 ip++;
368 ip, pMatch, iend,
374 ZSTD_ldm_countBackwardsMatch(ip, anchor, pMatch,
380 curForwardMatchLength = ZSTD_count(ip, pMatc
605 BYTE const* ip = istart; local
[all...]
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_snapshot.c121 ffs_snapgone(ip)
122 struct inode *ip;
221 struct inode *ip, *xp; local
310 ip = VTOI(vp);
311 devvp = ITODEVVP(ip);
324 ip->i_size = lblktosize(fs, (off_t)(numblks + 1));
325 vnode_pager_setsize(vp, ip->i_size);
326 DIP_SET(ip, i_size, ip->i_size);
327 ip
892 struct inode *ip; local
1202 struct inode *ip = VTOI(vp); local
1256 struct inode *ip; local
1486 struct inode *ip = VTOI(vp); local
1540 struct inode *ip; local
1620 struct inode *ip; local
1768 struct inode *ip; local
1980 struct inode *ip; local
2266 struct inode *ip; local
2487 struct inode *ip; local
2521 struct inode *ip; local
2552 struct inode *ip; local
[all...]
/freebsd-12-stable/bin/stty/
H A Dcchar.c95 csearch(char ***argvp, struct info *ip) argument
119 ip->t.c_cc[cp->sub] = _POSIX_VDISABLE;
131 ip->t.c_cc[cp->sub] = val;
133 ip->t.c_cc[cp->sub] = (arg[1] == '?') ? 0177 :
136 ip->t.c_cc[cp->sub] = arg[0];
137 ip->set = 1;
/freebsd-12-stable/lib/libc/arm/gen/
H A D_setjmp.S58 * r1-r3,ip are scratch registers in functions
93 ldr ip, .L_setjmp_magic /* load magic */
94 teq ip, r2 /* magic correct? */
98 add ip, r0, #(_JB_REG_D8 * 4)
99 vldmia ip, {d8-d15}
100 ldr ip, [r0, #(_JB_REG_FPSCR * 4)]
101 vmsr fpscr, ip
/freebsd-12-stable/sys/netipsec/
H A Dipsec_output.c57 #include <netinet/ip.h>
116 struct ip *ip; local
140 ip = mtod(m, struct ip *);
146 sin->sin_addr = ip->ip_src;
153 sin->sin_addr = ip->ip_dst;
192 struct ip *ip; local
221 ip
331 struct ip *ip = mtod(m, struct ip *); local
559 struct ip *ip; local
865 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/netgraph/
H A Dng_tcpmss.c60 #include <netinet/ip.h>
272 struct ip *ip; local
303 M_CHECK(sizeof(struct ip));
304 ip = mtod(m, struct ip *);
307 if (ip->ip_v != IPVERSION)
311 iphlen = ip->ip_hl << 2;
312 if (iphlen < sizeof(struct ip) || iphlen > pktlen )
316 if (!(ip
[all...]
/freebsd-12-stable/contrib/tcp_wrappers/
H A Dinetcf.c281 struct inet_ent *ip = local
284 if (ip == 0) {
288 ip->next = inet_list;
289 strcpy(ip->name, name);
290 ip->type = type;
291 inet_list = ip;
299 struct inet_ent *ip; local
304 for (ip = inet_list; ip; ip
[all...]
H A Dfix_options.c21 #include <netinet/ip.h>
45 struct protoent *ip; local
67 if ((ip = getprotobyname("ip")) != 0)
68 ipproto = ip->p_proto;
/freebsd-12-stable/sys/kern/
H A Duipc_mbufhash.c38 #include <netinet/ip.h>
84 struct ip ip; member in union:__anon15755
92 const struct ip *ip; local
101 ip = m_common_hash_gethdr(m, off, sizeof(*ip), &buf);
102 if (ip == NULL)
105 p = fnv_32_buf(&ip->ip_src, sizeof(struct in_addr), p);
106 p = fnv_32_buf(&ip
[all...]
/freebsd-12-stable/sys/net/
H A Dif_stf.c107 #include <netinet/ip.h>
175 .min_length = sizeof(struct ip),
313 struct ip ip; local
332 m_copydata(m, 0, sizeof(ip), (caddr_t)&ip);
334 if (ip.ip_v != 4)
345 if (bcmp(GET_V4(&addr6), &ip.ip_dst, sizeof(ip.ip_dst)) != 0)
358 b = ip
415 struct ip *ip; local
611 struct ip *ip; local
[all...]
/freebsd-12-stable/sys/netinet/netdump/
H A Dnetdump_client.c63 #include <netinet/ip.h>
242 struct ip *ip; local
262 ui->ui_len = htons(m->m_pkthdr.len - sizeof(struct ip));
273 ip = mtod(m, struct ip *);
274 ip->ip_v = IPVERSION;
275 ip->ip_hl = sizeof(struct ip) >> 2;
276 ip
509 struct ip *ip; local
[all...]
/freebsd-12-stable/sbin/ping/
H A Dping.c76 #include <netinet/ip.h>
111 #define MAXIPLEN (sizeof(struct ip) + MAX_IPOPTLEN)
220 static void pr_icmph(struct icmp *, struct ip *, const u_char *const);
221 static void pr_iph(struct ip *);
223 static void pr_retip(struct ip *, const u_char *);
301 outpack = outpackhdr + sizeof(struct ip);
555 icmp_len = sizeof(struct ip) + ICMP_MINLEN + phdr_len;
695 struct ip ip; local
697 memcpy(&ip, outpackhd
1084 struct ip ip; local
1129 struct ip ip; local
1619 pr_iph(struct ip *ip) argument
1680 pr_retip(struct ip *ip, const u_char *cp) argument
[all...]
/freebsd-12-stable/contrib/libucl/src/
H A Ducl_hash.h93 #define ucl_hash_iterate(hl, ip) ucl_hash_iterate2((hl), (ip), NULL)
/freebsd-12-stable/sys/fs/cd9660/
H A Dcd9660_vnops.c137 struct iso_node *ip = VTOI(vp); local
160 return (vaccess(vp->v_type, ip->inode.iso_mode, ip->inode.iso_uid,
161 ip->inode.iso_gid, ap->a_accmode, ap->a_cred, NULL));
175 struct iso_node *ip = VTOI(vp); local
180 vnode_create_vobject(vp, ip->i_size, ap->a_td);
196 struct iso_node *ip = VTOI(vp); local
198 vap->va_fsid = dev2udev(ip->i_mnt->im_dev);
199 vap->va_fileid = ip->i_number;
201 vap->va_mode = ip
258 struct iso_node *ip; local
302 struct iso_node *ip = VTOI(vp); local
668 ISONODE *ip; local
761 struct iso_node *ip; local
828 struct iso_node *ip = VTOI(ap->a_vp); local
864 struct iso_node *ip; local
[all...]
/freebsd-12-stable/sys/dev/veriexec/
H A Dverified_exec.c86 int *ip = (int *)data; local
89 if (ip) {
90 if (*ip > 0)
91 mac_veriexec_debug = *ip;
92 *ip = mac_veriexec_debug;
111 int *ip = (int *)data; local
113 if (ip)
114 *ip = mac_veriexec_get_state();
/freebsd-12-stable/sbin/natd/
H A Dnatd.c26 #include <netinet/ip.h>
111 static char* FormatPacket (struct ip*);
112 static void PrintPacket (struct ip*);
113 static void SyslogPacket (struct ip*, int priority, const char *label);
520 struct ip* ip; local
552 ip = (struct ip*) buf;
560 switch (ip->ip_p) {
574 printf ("[%d] ", ip
646 struct ip* ip; local
831 PrintPacket(struct ip* ip) argument
836 SyslogPacket(struct ip* ip, int priority, const char *label) argument
841 FormatPacket(struct ip* ip) argument
1999 struct instance *ip; local
[all...]
/freebsd-12-stable/contrib/unbound/compat/
H A Dgmtime_r.c54 const int * ip; local
93 ip = mon_lengths[yleap];
94 for (tmp->tm_mon = 0; days >= (long) ip[tmp->tm_mon]; ++(tmp->tm_mon))
95 days = days - (long) ip[tmp->tm_mon];
/freebsd-12-stable/contrib/gcc/
H A DFREEBSD-libiberty21 cp -ip ../libiberty/$F .
36 cp -ip ../include/$F .
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localicmp.ksh30 # Test ip:::{send,receive} of IPv4 ICMP to a local address.
34 # 1. A change to the ip stack breaking expected probe behavior,
50 ip:::send
54 printf("2 ip:::send (");
61 ip:::receive
65 printf("3 ip:::receive (");
H A Dtst.ipv4remoteicmp.ksh30 # Test ip:::{send,receive} of IPv4 ICMP to a remote host.
34 # 1. A change to the ip stack breaking expected probe behavior,
60 ip:::send
64 printf("1 ip:::send (");
71 ip:::receive
75 printf("2 ip:::receive (");
H A Dtst.ipv6localicmp.ksh30 # Test ip:::{send,receive} of IPv6 ICMP to a local address. This creates a
35 # 1. A change to the ip stack breaking expected probe behavior,
60 ip:::send
64 printf("2 ip:::send (");
70 ip:::receive
74 printf("3 ip:::receive (");

Completed in 322 milliseconds

1234567891011>>