Searched refs:IP_MAXPACKET (Results 1 – 22 of 22) sorted by relevance
41 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_hello()78 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_peerterm()
47 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_reply()
48 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_query()
44 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_update()
234 IP_MAXPACKET - sizeof(struct ip))) == NULL) in rtp_send_ack()
669 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()
70 #define IP_MAXPACKET 65535 /* maximum packet size */ macro
278 if ((m->m_pkthdr.len + sizeof(struct ip)) > IP_MAXPACKET) { in rip_output() 294 if (m->m_pkthdr.len > IP_MAXPACKET) { in rip_output()
105 if (m->m_pkthdr.len > IP_MAXPACKET) { in divert_output()
351 if (m->m_pkthdr.len + hlen > IP_MAXPACKET) { in ipcomp_output()
870 if (urp > IP_MAXPACKET) in tcp_output()871 urp = IP_MAXPACKET; in tcp_output()
915 if (rplen + ahx->authsize + m->m_pkthdr.len > IP_MAXPACKET) { in ah_output()
743 if (skip + hlen + rlen + padding + alen > IP_MAXPACKET) { in esp_output()
945 if ((len + sizeof(struct udpiphdr)) > IP_MAXPACKET) { in udp_output()
779 if (optlen + ntohs(ip->ip_len) > IP_MAXPACKET) in ip_insertoptions()
1068 if ((next + (ip->ip_hl << 2)) > IP_MAXPACKET) { in ip_reass()
126 #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()
66 IP_MAXPACKET - sizeof(struct ip))) == NULL) in send_hello()
840 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()
153 IP_MAXPACKET - sizeof(struct ip))) == NULL) in prepare_ls_update()
543 if (frent->fe_off + frent->fe_len > IP_MAXPACKET) { in pf_fillup_fragment()835 if (hdrlen + total > IP_MAXPACKET) { in pf_reassemble()
2801 agentx_varbind_integer(vb, IP_MAXPACKET); in mib_ipaddr()