| Index: net/tools/quic/quic_socket_utils.h
|
| diff --git a/net/tools/quic/quic_socket_utils.h b/net/tools/quic/quic_socket_utils.h
|
| index 7341c87cd12351a3348b286f109082fcfb9a3e71..a4a4d18cdc4d1093591b48becb5186fd406c386e 100644
|
| --- a/net/tools/quic/quic_socket_utils.h
|
| +++ b/net/tools/quic/quic_socket_utils.h
|
| @@ -22,12 +22,12 @@ class QuicSocketUtils {
|
| // If the msghdr contains IP_PKTINFO or IPV6_PKTINFO, this will return the
|
| // IPAddressNumber in that header. Returns an uninitialized IPAddress on
|
| // failure.
|
| - static IPAddressNumber GetAddressFromMsghdr(struct msghdr *hdr);
|
| + static IPAddressNumber GetAddressFromMsghdr(struct msghdr* hdr);
|
|
|
| // If the msghdr contains an SO_RXQ_OVFL entry, this will set dropped_packets
|
| // to the correct value and return true. Otherwise it will return false.
|
| - static bool GetOverflowFromMsghdr(struct msghdr *hdr,
|
| - uint32 *dropped_packets);
|
| + static bool GetOverflowFromMsghdr(struct msghdr* hdr,
|
| + uint32* dropped_packets);
|
|
|
| // Sets either IP_PKTINFO or IPV6_PKTINFO on the socket, based on
|
| // address_family. Returns the return code from setsockopt.
|
| @@ -59,7 +59,9 @@ class QuicSocketUtils {
|
| // status to WRITE_STATUS_OK and sets bytes_written. Otherwise sets the
|
| // result's status to WRITE_STATUS_BLOCKED or WRITE_STATUS_ERROR and sets
|
| // error_code to errno.
|
| - static WriteResult WritePacket(int fd, const char* buffer, size_t buf_len,
|
| + static WriteResult WritePacket(int fd,
|
| + const char* buffer,
|
| + size_t buf_len,
|
| const IPAddressNumber& self_address,
|
| const IPEndPoint& peer_address);
|
|
|
|
|