rollup merge of #23517: vhbit/ext-socket-options
rollup merge of #23517: vhbit/ext-socket-options

Continuation of #23380 - added corresponding constants for Windows, Linux, *BSDs

r? @alexcrichton

Alex, can you also cc to a person who can check correctness for Windows as I'm not that confident in header file I've downloaded.

jashank/rust,ejjeong/rust,rohitjoshi/rust,jashank/rust,GBGamer/rust,jashank/rust,avdi/rust,mihneadb/rust,sae-bom/rust,jashank/rust,gifnksm/rust,mihneadb/rust,mvdnes/rust,aepsil0n/rust,sae-bom/rust,miniupnp/rust,aidancully/rust,zachwick/rust,pelmers/rust,seanrivera/rust,gifnksm/rust,carols10cents/rust,sae-bom/rust,krzysz00/rust,ruud-v-a/rust,omasanori/rust,philyoon/rust,zubron/rust,aidancully/rust,ejjeong/rust,GBGamer/rust,l0kod/rust,philyoon/rust,avdi/rust,rohitjoshi/rust,nwin/rust,nwin/rust,reem/rust,ebfull/rust,aepsil0n/rust,zachwick/rust,pelmers/rust,cllns/rust,carols10cents/rust,kwantam/rust,pshc/rust,mdinger/rust,nwin/rust,jroesch/rust,GBGamer/rust,seanrivera/rust,l0kod/rust,zubron/rust,KokaKiwi/rust,seanrivera/rust,carols10cents/rust,mdinger/rust,GBGamer/rust,GBGamer/rust,pshc/rust,ruud-v-a/rust,l0kod/rust,graydon/rust,jroesch/rust,philyoon/rust,aneeshusa/rust,victorvde/rust,nwin/rust,nwin/rust,mdinger/rust,zachwick/rust,zubron/rust,zaeleus/rust,ruud-v-a/rust,TheNeikos/rust,pelmers/rust,gifnksm/rust,kwantam/rust,jashank/rust,l0kod/rust,seanrivera/rust,pshc/rust,pelmers/rust,zubron/rust,vhbit/rust,KokaKiwi/rust,l0kod/rust,omasanori/rust,jashank/rust,cllns/rust,l0kod/rust,aneeshusa/rust,KokaKiwi/rust,carols10cents/rust,dwillmer/rust,vhbit/rust,aidancully/rust,cllns/rust,victorvde/rust,ebfull/rust,jroesch/rust,ebfull/rust,l0kod/rust,rohitjoshi/rust,zachwick/rust,krzysz00/rust,seanrivera/rust,ebfull/rust,carols10cents/rust,nwin/rust,vhbit/rust,pshc/rust,dwillmer/rust,cllns/rust,mihneadb/rust,mihneadb/rust,andars/rust,mdinger/rust,XMPPwocky/rust,seanrivera/rust,GBGamer/rust,omasanori/rust,nwin/rust,victorvde/rust,ejjeong/rust,jashank/rust,aneeshusa/rust,zachwick/rust,ejjeong/rust,krzysz00/rust,ebfull/rust,miniupnp/rust,reem/rust,gifnksm/rust,XMPPwocky/rust,mvdnes/rust,kwantam/rust,sae-bom/rust,ebfull/rust,kwantam/rust,zaeleus/rust,jroesch/rust,pshc/rust,aidancully/rust,reem/rust,ejjeong/rust,TheNeikos/rust,TheNeikos/rust,robertg/rust,zaeleus/rust,jashank/rust,dwillmer/rust,GBGamer/rust,mihneadb/rust,gifnksm/rust,dwillmer/rust,ruud-v-a/rust,vhbit/rust,graydon/rust,KokaKiwi/rust,robertg/rust,XMPPwocky/rust,rohitjoshi/rust,reem/rust,andars/rust,robertg/rust,aepsil0n/rust,mvdnes/rust,cllns/rust,rohitjoshi/rust,aepsil0n/rust,dwillmer/rust,aidancully/rust,pelmers/rust,victorvde/rust,pshc/rust,avdi/rust,omasanori/rust,zubron/rust,miniupnp/rust,miniupnp/rust,vhbit/rust,KokaKiwi/rust,pshc/rust,philyoon/rust,jroesch/rust,nwin/rust,TheNeikos/rust,andars/rust,ejjeong/rust,rohitjoshi/rust,krzysz00/rust,XMPPwocky/rust,GBGamer/rust,omasanori/rust,dwillmer/rust,victorvde/rust,robertg/rust,gifnksm/rust,dwillmer/rust,robertg/rust,avdi/rust,miniupnp/rust,andars/rust,omasanori/rust,avdi/rust,graydon/rust,TheNeikos/rust,l0kod/rust,mvdnes/rust,zaeleus/rust,vhbit/rust,philyoon/rust,jroesch/rust,robertg/rust,zaeleus/rust,zubron/rust,miniupnp/rust,aepsil0n/rust,mihneadb/rust,zaeleus/rust,XMPPwocky/rust,jroesch/rust,andars/rust,pelmers/rust,vhbit/rust,aneeshusa/rust,ruud-v-a/rust,graydon/rust,mvdnes/rust,aneeshusa/rust,miniupnp/rust,avdi/rust,aneeshusa/rust,zubron/rust,mvdnes/rust,andars/rust,TheNeikos/rust,kwantam/rust,krzysz00/rust,aepsil0n/rust,zachwick/rust,graydon/rust,aidancully/rust,philyoon/rust,XMPPwocky/rust,kwantam/rust,KokaKiwi/rust,zubron/rust,vhbit/rust,reem/rust,pshc/rust,mdinger/rust,victorvde/rust,sae-bom/rust,mdinger/rust,ruud-v-a/rust,sae-bom/rust,jroesch/rust,dwillmer/rust,carols10cents/rust,miniupnp/rust,krzysz00/rust,graydon/rust,cllns/rust,reem/rust