OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IP_MAXPACKET
(Results
1 - 23
of
23
) sorted by relevancy
/src/tests/net/icmp/
t_ping.c
143
char buf[
IP_MAXPACKET
- sizeof(struct ip)];
146
char recvbuf[
IP_MAXPACKET
];
305
for (i = 0 ; i <
IP_MAXPACKET
- 60000; i++) {
311
for (i =
IP_MAXPACKET
- 60000; i <
IP_MAXPACKET
- 100; i += 1000) {
317
for (i =
IP_MAXPACKET
- 100; i <
IP_MAXPACKET
; i += 10) {
/src/regress/sys/net/frag/
ip4_frag_1.c
257
* Case 5: construct packet larger than
IP_MAXPACKET
.
266
cnt =
IP_MAXPACKET
/ 1480;
267
left =
IP_MAXPACKET
- (1480 * cnt);
275
/* Add 8 bytes and thus cross
IP_MAXPACKET
limit. */
/src/sys/netinet/
ip.h
75
#define
IP_MAXPACKET
65535 /* maximum packet size */
tcp_output.c
892
* Truncate TSO transfers to
IP_MAXPACKET
, and make
897
CTASSERT(IPV6_MAXPACKET ==
IP_MAXPACKET
);
899
len = (uimin(len,
IP_MAXPACKET
) / txsegsize) * txsegsize;
1222
else if (use_tso && len >
IP_MAXPACKET
)
1388
if (urp >
IP_MAXPACKET
)
1389
urp =
IP_MAXPACKET
;
ip_reass.c
372
if ((next + (ip->ip_hl << 2)) >
IP_MAXPACKET
) {
640
if (off + len >
IP_MAXPACKET
) {
raw_ip.c
324
if ((m->m_pkthdr.len + sizeof(struct ip)) >
IP_MAXPACKET
) {
343
if (m->m_pkthdr.len >
IP_MAXPACKET
) {
udp_usrreq.c
792
if (len + sizeof(struct udpiphdr) >
IP_MAXPACKET
) {
ip_output.c
1017
if (optlen + ntohs(ip->ip_len) >
IP_MAXPACKET
)
dccp_usrreq.c
1338
if (!isipv6 && (len + hdrlen) >
IP_MAXPACKET
) {
/src/sys/dev/usb/
if_muereg.h
26
/* XXX for
IP_MAXPACKET
*/
134
#define MUE_TSO_FRAME_LEN MUE_FRAME_LEN(
IP_MAXPACKET
)
if_axen.c
35
#include <netinet/ip.h> /* XXX for
IP_MAXPACKET
*/
632
un->un_tx_bufsz =
IP_MAXPACKET
+ ETHER_HDR_LEN + ETHER_CRC_LEN +
/src/sys/dev/pci/
if_bgevar.h
203
#define BGE_TXDMA_MAX (round_page(
IP_MAXPACKET
)) /* for TSO */
if_wm.c
225
#define WM_MAXTXDMA (2 * round_page(
IP_MAXPACKET
)) /* for TSO */
/src/usr.sbin/ndbootd/
ndbootd.c
314
unsigned char packet_buffer[sizeof(struct ether_header) +
IP_MAXPACKET
];
325
unsigned char ip_packet_buffer[
IP_MAXPACKET
];
/src/sys/rump/net/lib/libsockin/
sockin.c
256
plen =
IP_MAXPACKET
;
/src/sys/netipsec/
xform_ipcomp.c
386
maxpacketsize =
IP_MAXPACKET
;
xform_ah.c
912
maxpacketsize =
IP_MAXPACKET
;
xform_esp.c
729
maxpacketsize =
IP_MAXPACKET
;
key.c
4022
if (sav->natt_type == 0 || sav->esp_frag ==
IP_MAXPACKET
)
5661
sav->esp_frag =
IP_MAXPACKET
;
/src/sbin/ping/
ping.c
98
#define MAXPACKET (
IP_MAXPACKET
-60-8) /* max packet size */
202
static int bufspace =
IP_MAXPACKET
;
/src/sys/dist/pf/net/
pf_norm.c
499
if ((frent->fr_ip->ip_hl << 2) + off >
IP_MAXPACKET
) {
937
if (fragoff + ip_len >
IP_MAXPACKET
) {
/src/sys/dev/ic/
rtl8169.c
131
#include <netinet/in_systm.h> /* XXX for
IP_MAXPACKET
*/
132
#include <netinet/in.h> /* XXX for
IP_MAXPACKET
*/
133
#include <netinet/ip.h> /* XXX for
IP_MAXPACKET
*/
834
round_page(
IP_MAXPACKET
),
/src/sys/dev/hyperv/
if_hvn.c
4403
tso_maxsz =
IP_MAXPACKET
;
4428
KASSERTMSG(tso_maxsz <=
IP_MAXPACKET
,
Completed in 47 milliseconds
Indexes created Wed Oct 15 16:09:53 GMT 2025