OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IP_HL
(Results
1 - 21
of
21
) sorted by relevancy
/src/external/bsd/ipf/dist/ipsend/
ip.c
151
ip->ip_sum = chksum((u_short *)ip,
IP_HL
(ip) << 2);
168
hlen =
IP_HL
(ip) << 2;
175
ol = (
IP_HL
(ip) << 2) - sizeof(*ip);
262
hlen =
IP_HL
(ip) << 2;
318
bcopy((char *)ip + (
IP_HL
(ip) << 2),
322
ip->ip_len = (
IP_HL
(ip) << 2) + thlen;
327
(char *)ip + (
IP_HL
(ip) << 2), sizeof(udphdr_t));
342
ic = (struct icmp *)((char *)ip + (
IP_HL
(ip) << 2));
resend.c
47
t = (tcphdr_t *)((char *)ip + (
IP_HL
(ip) << 2));
128
IP_HL
(ip) << 2);
iptests.c
167
printf("1.1. sending packets with
ip_hl
< ip_len\n");
183
printf("1.2. sending packets with
ip_hl
> ip_len\n");
238
ip->ip_sum = chksum((u_short *)ip,
IP_HL
(ip) << 2);
250
ip->ip_sum = chksum((u_short *)ip,
IP_HL
(ip) << 2);
269
ip->ip_sum = chksum((u_short *)ip,
IP_HL
(ip) << 2);
281
ip->ip_sum = chksum((u_short *)ip,
IP_HL
(ip) << 2);
500
ip->ip_len =
IP_HL
(ip) << 2;
520
ip->ip_len =
IP_HL
(ip) << 2;
600
icp = (struct icmp *)((char *)ip + (
IP_HL
(ip) << 2));
799
u = (udphdr_t *)((char *)ip + (
IP_HL
(ip) << 2))
[
all
...]
ipsend.c
313
olen = buildopts(optarg, options, (
IP_HL
(ip) - 5) << 2);
434
udpcksum(ip, udp, ip->ip_len - (
IP_HL
(ip) << 2));
/src/external/bsd/ipf/dist/lib/
printpacket.c
74
tcp = (struct tcphdr *)((char *)ip + (
IP_HL
(ip) << 2));
76
IP_HL
(ip) << 2, ip->ip_p);
ipft_tx.c
321
olen = buildopts(*cpp, ipopts, (
IP_HL
(ip) - 5) << 2);
324
IP_HL_A(ip,
IP_HL
(ip) + (olen >> 2));
329
bcopy((char *)tcp, ((char *)ip) + (
IP_HL
(ip) << 2),
332
bcopy((char *)ic, ((char *)ip) + (
IP_HL
(ip) << 2),
/src/external/bsd/tcpdump/dist/
ip.h
51
#define
IP_HL
(ip) (GET_U_1((ip)->ip_vhl) & 0x0f)
print-ip.c
102
length =
IP_HL
(ip) * 4;
158
if (
IP_HL
(ip) == 5)
348
hlen =
IP_HL
(ip) * 4;
print-sl.c
156
hlen =
IP_HL
(ip);
257
hlen =
IP_HL
(ip);
print-icmp.c
105
#define ICMP_ADVLEN(p) (8 + (
IP_HL
(&(p)->icmp_ip) << 2) + 8)
106
/* N.B.: must separately check that
ip_hl
>= 5 */
382
hlen =
IP_HL
(oip) * 4;
print-tcp.c
954
tlen = GET_BE_U_2(ip->ip_len) -
IP_HL
(ip) * 4;
/src/external/mpl/dhcp/dist/includes/netinet/
ip.h
65
#define
IP_HL
(iph) (((iph)->ip_fvhl & 0x0F) << 2)
/src/external/bsd/ipf/dist/tools/
ipftest.c
226
hlen =
IP_HL
(ip) << 2;
822
ip->ip_sum = ipf_cksum((u_short *)ip,
IP_HL
(ip) << 2);
823
tmp.fin_hlen =
IP_HL
(ip) << 2;
824
csump +=
IP_HL
(ip) << 2;
ipmon.c
1172
hl =
IP_HL
(&ip) << 2;
1301
proto,
IP_HL
(&ipc) << 2, i);
1313
IP_HL
(&ipc) << 2, i,
1322
IP_HL
(&ipc) << 2, i);
1327
i - (
IP_HL
(&ipc) << 2),
ipmon_y.y
452
tcp = (tcphdr_t *)((char *)ip + (
IP_HL
(ip) << 2));
/src/external/mpl/dhcp/dist/common/
icmp.c
237
hlen =
IP_HL
(ip);
tr.c
174
udp = (struct udphdr *) ((unsigned char*) ip +
IP_HL
(ip));
/src/sys/external/bsd/ipf/netinet/
ip_compat.h
788
#ifndef
IP_HL
789
# define
IP_HL
(x) (x)->
ip_hl
792
# define IP_HL_A(x,y) (x)->
ip_hl
= ((y) & 0xf)
806
#define IPMINLEN(i, h) ((i)->ip_len >= (
IP_HL
(i) * 4 + sizeof(struct h)))
ip_state.c
2658
if (fin->fin_plen < ICMPERR_MAXPKTLEN + ((
IP_HL
(oip) - 5) << 2)) {
2667
if ((len <= 0) || ((
IP_HL
(oip) << 2) > len)) {
2730
(void) ipf_makefrip(
IP_HL
(oip) << 2, oip, &ofin);
2772
icmp = (icmphdr_t *)((char *)oip + (
IP_HL
(oip) << 2));
2801
tcp = (tcphdr_t *)((char *)oip + (
IP_HL
(oip) << 2));
ip_nat.c
3594
minlen =
IP_HL
(oip) << 2;
3642
orgicmp = (icmphdr_t *)((char *)oip + (
IP_HL
(oip) << 2));
3681
tcp = (tcphdr_t *)((char *)oip + (
IP_HL
(oip) << 2));
3753
dp = (((char *)oip) + (
IP_HL
(oip) << 2));
7366
hlen =
IP_HL
(fin->fin_ip) << 2;
fil.c
1456
off =
IP_HL
(ip) << 2;
3403
hlen =
IP_HL
(ip) << 2;
8333
hlen =
IP_HL
(ip) << 2;
Completed in 40 milliseconds
Indexes created Wed Aug 12 00:25:48 UTC 2026