diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/net.h | 8 | ||||
| -rw-r--r-- | include/linux/phy.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index b292a0435571..4bcee94cef93 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
| @@ -164,6 +164,14 @@ struct proto_ops { | |||
| 164 | #endif | 164 | #endif |
| 165 | int (*sendmsg) (struct kiocb *iocb, struct socket *sock, | 165 | int (*sendmsg) (struct kiocb *iocb, struct socket *sock, |
| 166 | struct msghdr *m, size_t total_len); | 166 | struct msghdr *m, size_t total_len); |
| 167 | /* Notes for implementing recvmsg: | ||
| 168 | * =============================== | ||
| 169 | * msg->msg_namelen should get updated by the recvmsg handlers | ||
| 170 | * iff msg_name != NULL. It is by default 0 to prevent | ||
| 171 | * returning uninitialized memory to user space. The recvfrom | ||
| 172 | * handlers can assume that msg.msg_name is either NULL or has | ||
| 173 | * a minimum size of sizeof(struct sockaddr_storage). | ||
| 174 | */ | ||
| 167 | int (*recvmsg) (struct kiocb *iocb, struct socket *sock, | 175 | int (*recvmsg) (struct kiocb *iocb, struct socket *sock, |
| 168 | struct msghdr *m, size_t total_len, | 176 | struct msghdr *m, size_t total_len, |
| 169 | int flags); | 177 | int flags); |
diff --git a/include/linux/phy.h b/include/linux/phy.h index 64ab823f7b74..48a4dc3cb8cf 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
| @@ -559,6 +559,7 @@ static inline int phy_read_status(struct phy_device *phydev) { | |||
| 559 | return phydev->drv->read_status(phydev); | 559 | return phydev->drv->read_status(phydev); |
| 560 | } | 560 | } |
| 561 | 561 | ||
| 562 | int genphy_setup_forced(struct phy_device *phydev); | ||
| 562 | int genphy_restart_aneg(struct phy_device *phydev); | 563 | int genphy_restart_aneg(struct phy_device *phydev); |
| 563 | int genphy_config_aneg(struct phy_device *phydev); | 564 | int genphy_config_aneg(struct phy_device *phydev); |
| 564 | int genphy_update_link(struct phy_device *phydev); | 565 | int genphy_update_link(struct phy_device *phydev); |
