Date: Sun, 17 Nov 2002 08:30:45 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_output.c ip_var.h Message-ID: <200211171630.gAHGUjtH096646@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2002/11/17 08:30:44 PST
Modified files:
sys/netinet ip_output.c ip_var.h
Log:
Move the ip_fragment code from ip_output() to a separate function,
so that it can be reused elsewhere (there is a number of places
where it can be useful). This also trims some 200 lines from
the body of ip_output(), which helps readability a bit.
(This change was discussed a few weeks ago on the mailing lists,
Julian agreed, silence from others. It is not a functional change,
so i expect it to be ok to commit it now but i am happy to back it
out if there are objections).
While at it, fix some function headers and replace m_copy() with
m_copypacket() where applicable.
MFC after: 1 week
Revision Changes Path
1.171 +168 -143 src/sys/netinet/ip_output.c
1.69 +2 -0 src/sys/netinet/ip_var.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211171630.gAHGUjtH096646>
