A couple of style fixes in recent TCP changes.
- Add a blank line before a block comment to match other block comments in the same function. - Sort the prototype for sbsndptr_adv and fix whitespace between return type and function name. Reviewed by: gallatin, bz Differential Revision: https://reviews.freebsd.org/D17474
This commit is contained in:
parent
642909fdfb
commit
74e10fb613
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339619
@ -895,6 +895,7 @@ tcp_output(struct tcpcb *tp)
|
||||
len = max_len;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevent the last segment from being
|
||||
* fractional unless the send sockbuf can be
|
||||
|
@ -165,10 +165,9 @@ int sbreserve_locked(struct sockbuf *sb, u_long cc, struct socket *so,
|
||||
struct thread *td);
|
||||
struct mbuf *
|
||||
sbsndptr(struct sockbuf *sb, u_int off, u_int len, u_int *moff);
|
||||
void sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
|
||||
struct mbuf *
|
||||
sbsndptr_noadv(struct sockbuf *sb, u_int off, u_int *moff);
|
||||
void
|
||||
sbsndptr_adv(struct sockbuf *sb, struct mbuf *mb, u_int len);
|
||||
struct mbuf *
|
||||
sbsndmbuf(struct sockbuf *sb, u_int off, u_int *moff);
|
||||
int sbwait(struct sockbuf *sb);
|
||||
|
Loading…
Reference in New Issue
Block a user