Searched refs:ip (Results 1 - 25 of 204) sorted by relevance

123456789

/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_inttab.c40 dt_inttab_t *ip; local
44 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL ||
45 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) {
46 dt_free(dtp, ip);
50 ip->int_hdl = dtp;
51 ip->int_hashlen = len;
53 return (ip);
57 dt_inttab_destroy(dt_inttab_t *ip) argument
61 for (hp = ip->int_head; hp != NULL; hp = np) {
63 dt_free(ip
71 dt_inttab_insert(dt_inttab_t *ip, uint64_t value, uint_t flags) argument
105 dt_inttab_size(const dt_inttab_t *ip) argument
111 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument
[all...]
H A Dudp.sed.in25 #include <inet/ip.h>
/vbox/src/VBox/Devices/Network/slirp/bsd/amd64/include/
H A Din_cksum.h59 in_cksum_update(struct ip *ip) argument
62 __tmpsum = (int)ntohs(ip->ip_sum) + 256;
63 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16));
68 #define in_cksum_update(ip) \
71 __tmpsum = (int)ntohs(ip->ip_sum) + 256; \
72 ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); \
78 u_int in_cksum_hdr(const struct ip *ip);
/vbox/src/libs/liblzf-3.4/
H A Dlzf_c.c114 const u8 *ip = (const u8 *)in_data; local
116 const u8 *in_end = ip + in_len;
147 *hslot++ = ip;
153 hval = FRST (ip);
154 while (ip < in_end - 2)
156 hval = NEXT (hval, ip);
158 ref = *hslot; *hslot = ip;
162 && ref < ip /* the next test will actually take care of this, but this is faster */
164 && (off = ip - ref - 1) < MAX_OFF
165 && ip
[all...]
H A Dlzf_d.c60 u8 const *ip = (const u8 *)in_data; local
62 u8 const *const in_end = ip + in_len;
67 unsigned int ctrl = *ip++;
80 if (ip + ctrl > in_end)
88 lzf_movsb (op, ip, ctrl);
91 *op++ = *ip++;
102 if (ip >= in_end)
110 len += *ip++;
112 if (ip >= in_end)
120 ref -= *ip
[all...]
/vbox/src/VBox/Devices/Network/slirp/bsd/i386/include/
H A Din_cksum.h62 in_cksum_hdr(const struct ip *ip) argument
74 : "g" (((const u_int32_t *)ip)[0]),
75 "g" (((const u_int32_t *)ip)[1]),
76 "g" (((const u_int32_t *)ip)[2]),
77 "g" (((const u_int32_t *)ip)[3]),
78 "g" (((const u_int32_t *)ip)[4])
88 in_cksum_update(struct ip *ip) argument
91 __tmpsum = (int)ntohs(ip
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dip_input.c94 register struct ip *ip; local
101 ip = mtod(m, struct ip *);
102 Log2(("ip_dst=%RTnaipv4(len:%d) m_len = %d\n", ip->ip_dst, RT_N2H_U16(ip->ip_len), m->m_len));
116 if (m->m_len != RT_N2H_U16(ip->ip_len))
117 m->m_len = RT_N2H_U16(ip->ip_len);
122 if (mlen < sizeof(struct ip))
128 ip
262 struct ip *ip; local
637 struct ip *ip = mtod(m, struct ip *); local
[all...]
H A Dip_icmp.c158 * ip here is ip header + 64bytes readed from ICMP packet
161 icmp_find_original_mbuf(PNATState pData, struct ip *ip) argument
164 struct ip *ip0;
182 LogFlowFunc(("ENTER: ip->ip_p:%d\n", ip->ip_p));
183 switch (ip->ip_p)
186 icp = (struct icmp *)((char *)ip + (ip
343 struct ip *ip; local
363 register struct ip *ip = mtod(m, struct ip *); local
554 struct ip *oip, *ip; local
688 register struct ip *ip = mtod(m, struct ip *); local
[all...]
H A Dip_output.c120 register struct ip *ip; local
122 register int hlen = sizeof(struct ip);
146 ip = mtod(m, struct ip *);
147 LogFunc(("ip(src:%RTnaipv4, dst:%RTnaipv4)\n", ip->ip_src, ip->ip_dst));
151 ip->ip_v = IPVERSION;
152 ip
[all...]
H A Dip_icmpwin.c45 struct ip reqiph;
132 struct ip *ip = mtod(m, struct ip *); local
142 ttl = ip->ip_ttl;
145 reqsize = ip->ip_len - hlen - sizeof(struct icmp_echo);
171 reqdata = mtod(m, char *) + sizeof(struct ip) + sizeof(struct icmp_echo);
177 m_copydata(m, sizeof(struct ip) + sizeof(struct icmp_echo),
181 dst = ip->ip_dst.s_addr;
184 opts.Tos = ip
344 struct ip *ip; local
471 struct ip *ip; local
[all...]
H A Dudp.c82 /* m->m_data points at ip packet header
83 * m->m_len length ip packet
84 * ip->ip_len length data (IPDU)
89 register struct ip *ip; local
92 struct ip save_ip;
98 ip = mtod(m, struct ip *);
99 Log2(("%RTnaipv4 iphlen = %d\n", ip->ip_dst, iphlen));
109 if (iphlen > sizeof(struct ip))
[all...]
H A Dtcp_timer.c95 register struct socket *ip, *ipnxt;
104 ip = tcb.so_next;
105 if (ip == 0)
107 QSOCKET_FOREACH(ip, ipnxt, tcp)
109 ipnxt = ip->so_next;
110 tp = sototcpcb(ip);
118 if (ipnxt->so_prev != ip)
127 LOOP_LABEL(tcp, ip, ipnxt);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DBra.h16 ip - current virtual Instruction Pinter (IP) value
41 UInt32 ip = 0;
45 SizeT processed = Convert(data, size, ip, 1);
48 ip += processed;
53 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding);
54 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
55 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
56 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
57 SizeT SPARC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding);
58 SizeT IA64_Convert(Byte *data, SizeT size, UInt32 ip, in
[all...]
H A DBra86.c11 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding) argument
17 ip += 5;
59 dest = (ip + (UInt32)bufferPos) + src;
61 dest = src - (ip + (UInt32)bufferPos);
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dmisc.c19 unsigned long ip = 0; local
27 ip = (ip << 8) | val;
30 inp->s_addr = htonl(ip);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/demo/ip/
H A Dipproto.d33 ip:::send,
34 ip:::receive
H A Dipio.d36 ip:::send
45 ip:::receive
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_dummy.c48 #include <netinet/ip.h>
60 AliasHandleDummy(struct libalias *la, struct ip *ip, struct alias_data *ah);
63 fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
89 protohandler(struct libalias *la, struct ip *pip, struct alias_data *ah)
149 AliasHandleDummy(struct libalias *la, struct ip *ip, struct alias_data *ah) argument
H A Dalias.c131 #include <netinet/ip.h>
185 static void TcpMonitorIn(struct ip *, struct alias_link *);
187 static void TcpMonitorOut(struct ip *, struct alias_link *);
191 TcpMonitorIn(struct ip *pip, struct alias_link *lnk)
212 TcpMonitorOut(struct ip *pip, struct alias_link *lnk)
277 static int IcmpAliasIn1(struct libalias *, struct ip *);
278 static int IcmpAliasIn2(struct libalias *, struct ip *);
279 static int IcmpAliasIn(struct libalias *, struct ip *);
281 static int IcmpAliasOut1(struct libalias *, struct ip *, int create);
282 static int IcmpAliasOut2(struct libalias *, struct ip *);
349 struct ip *ip; local
532 struct ip *ip; local
[all...]
H A Dalias_cuseeme.c44 #include <netinet/ip.h>
59 AliasHandleCUSeeMeOut(struct libalias *la, struct ip *pip,
63 AliasHandleCUSeeMeIn(struct libalias *la, struct ip *pip,
67 fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
78 protohandlerin(struct libalias *la, struct ip *pip, struct alias_data *ah)
86 protohandlerout(struct libalias *la, struct ip *pip, struct alias_data *ah)
176 AliasHandleCUSeeMeOut(struct libalias *la, struct ip *pip, struct alias_link *lnk)
199 AliasHandleCUSeeMeIn(struct libalias *la, struct ip *pip, struct in_addr original_addr)
H A Dalias_pptp.c70 AliasHandlePptpOut(struct libalias *, struct ip *, struct alias_link *);
73 AliasHandlePptpIn(struct libalias *, struct ip *, struct alias_link *);
76 AliasHandlePptpGreOut(struct libalias *, struct ip *);
79 AliasHandlePptpGreIn(struct libalias *, struct ip *);
82 fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
94 fingerprintgre(struct libalias *la, struct ip *pip, struct alias_data *ah)
101 protohandlerin(struct libalias *la, struct ip *pip, struct alias_data *ah)
109 protohandlerout(struct libalias *la, struct ip *pip, struct alias_data *ah)
117 protohandlergrein(struct libalias *la, struct ip *pip, struct alias_data *ah)
127 protohandlergreout(struct libalias *la, struct ip *pi
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java188 int ip; // index into optstring, traverses every char
197 cp = ip = 0;
201 ic = optstring.charAt(ip);
202 if (ic != '(' && ++ip == il)
204 ic = optstring.charAt(ip);
205 if (ic == ':' && ++ip == il)
207 ic = optstring.charAt(ip);
209 if (++ip == il)
213 while (ip < il && (ic = optstring.charAt(ip)) !
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/ip/
H A Dtst.ipv4localudp.ksh28 # Test ip:::{send,receive} of IPv4 UDP to a local address.
32 # 1. A change to the ip stack breaking expected probe behavior,
42 # 1 x ip:::send (UDP sent to ping's base UDP port)
44 # 1 x ip:::receive (UDP received)
66 ip:::send
79 ip:::receive
89 printf("ip:::send - %s\n", ipsend >= 1 ? "yes" : "no");
90 printf("ip:::receive - %s\n", ipreceive >= 1 ? "yes" : "no");
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,
49 ip:::send
53 printf("1 ip:::send (");
60 ip:::receive
64 printf("2 ip:::receive (");
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/DxeExtendedSalLib/Ipf/
H A DAsmExtendedSalLib.s48 mov r8 = ip;;
81 mov r8 = ip;;

Completed in 271 milliseconds

123456789