Applied patch by Ma Jie adding functionality needed by mDNSResponder:

* added new protocol method process_ancillary_data_no_container() that does not
  need a container to fill the cmsghdr data.
* Added support for the IP_RECVDSTADDR option using this call.
* Implemented support for IP_MULTICAST_IF.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31585 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-07-15 11:53:29 +00:00
parent ecece29dd8
commit 78888c44da
8 changed files with 154 additions and 4 deletions
+2
View File
@@ -79,6 +79,8 @@ struct net_protocol_module_info {
ssize_t (*process_ancillary_data)(net_protocol *self,
const ancillary_data_header *header, const void *data,
void *buffer, size_t bufferSize);
ssize_t (*process_ancillary_data_no_container)(net_protocol *self,
net_buffer *buffer, void *buffer, size_t bufferSize);
ssize_t (*send_data_no_buffer)(net_protocol *self, const iovec *vecs,
size_t vecCount, ancillary_data_container *ancillaryData,