Home
last modified time | relevance | path

Searched refs:IP_MAXPACKET (Results 1 – 22 of 22) sorted by relevance

/openbsd/usr.sbin/eigrpd/
H A Dhello.c41 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_hello()
78 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_peerterm()
H A Dreply.c47 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_reply()
H A Dquery.c48 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_query()
H A Dupdate.c44 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_update()
H A Drtp.c234 IP_MAXPACKET - sizeof(struct ip))) == NULL) in rtp_send_ack()
/openbsd/usr.sbin/traceroute/
H A Dtraceroute.c669 if (datalen < 0 || datalen > IP_MAXPACKET - headerlen) in main()
671 IP_MAXPACKET - headerlen); in main()
758 if (datalen < 0 || datalen > IP_MAXPACKET - headerlen) in main()
760 IP_MAXPACKET - headerlen); in main()
/openbsd/sys/netinet/
H A Dip.h70 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
H A Draw_ip.c278 if ((m->m_pkthdr.len + sizeof(struct ip)) > IP_MAXPACKET) { in rip_output()
294 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
H A Dip_divert.c105 if (m->m_pkthdr.len > IP_MAXPACKET) { in divert_output()
H A Dip_ipcomp.c351 if (m->m_pkthdr.len + hlen > IP_MAXPACKET) { in ipcomp_output()
H A Dtcp_output.c870 if (urp > IP_MAXPACKET) in tcp_output()
871 urp = IP_MAXPACKET; in tcp_output()
H A Dip_ah.c915 if (rplen + ahx->authsize + m->m_pkthdr.len > IP_MAXPACKET) { in ah_output()
H A Dip_esp.c743 if (skip + hlen + rlen + padding + alen > IP_MAXPACKET) { in esp_output()
H A Dudp_usrreq.c945 if ((len + sizeof(struct udpiphdr)) > IP_MAXPACKET) { in udp_output()
H A Dip_output.c779 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) in ip_insertoptions()
H A Dip_input.c1068 if ((next + (ip->ip_hl << 2)) > IP_MAXPACKET) { in ip_reass()
/openbsd/sbin/ping/
H A Dping.c126 #define MAXPAYLOAD (IP_MAXPACKET - MAXIPLEN - ECHOLEN)
176 u_char outpackhdr[IP_MAXPACKET+sizeof(struct ip)];
255 int df = 0, tos = 0, bufspace = IP_MAXPACKET, hoplimit = -1, mflag = 0; in main()
621 if (bufspace < IP_MAXPACKET) in main()
623 "(default %d)", bufspace, IP_MAXPACKET); in main()
/openbsd/usr.sbin/ospfd/
H A Dhello.c66 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_hello()
H A Dospfe.c840 IP_MAXPACKET - sizeof(struct ip) - sizeof(struct ospf_hdr) - in orig_rtr_lsa()
1126 IP_MAXPACKET - sizeof(struct ip) - sizeof(struct ospf_hdr) - in orig_net_lsa()
H A Dlsupdate.c153 IP_MAXPACKET - sizeof(struct ip))) == NULL) in prepare_ls_update()
/openbsd/sys/net/
H A Dpf_norm.c543 if (frent->fe_off + frent->fe_len > IP_MAXPACKET) { in pf_fillup_fragment()
835 if (hdrlen + total > IP_MAXPACKET) { in pf_reassemble()
/openbsd/libexec/snmpd/snmpd_metrics/
H A Dmib.c2801 agentx_varbind_integer(vb, IP_MAXPACKET); in mib_ipaddr()