musl/include/net, branch master musl - an implementation of the standard library for Linux-based systems net/if_arp.h: add ARPHRD_RAWIP from linux v4.14 2018年02月22日T23:47:49+00:00 Szabolcs Nagy nsz@port70.net 2017年11月26日T23:26:26+00:00 4d4a665799a0ed6dda3deed3d380b72c84d9f4d2 new in linux commmit cdf4969c42a6c1a376dd03a9e846cf638d3cd4b1
new in linux commmit cdf4969c42a6c1a376dd03a9e846cf638d3cd4b1
add additional uapi guards for Linux kernel header files 2018年01月09日T18:08:25+00:00 Hauke Mehrtens hauke@hauke-m.de 2018年01月06日T22:32:52+00:00 b583c5d3b4cc2c54c68eef5eb7855ecfacee8bfc With Linux kernel 4.16 it will be possible to guard more parts of the Linux header files from a libc. Make use of this in musl to guard all the structures and other definitions from the Linux header files which are also defined by the header files provided by musl. This will make it possible to compile source files which include both the libc headers and the kernel userspace headers. This extends the definitions done in commit 04983f227238 ("make netinet/in.h suppress clashing definitions from kernel headers")
With Linux kernel 4.16 it will be possible to guard more parts of the
Linux header files from a libc. Make use of this in musl to guard all
the structures and other definitions from the Linux header files which
are also defined by the header files provided by musl. This will make
it possible to compile source files which include both the libc
headers and the kernel userspace headers.
This extends the definitions done in commit 04983f227238 ("make
netinet/in.h suppress clashing definitions from kernel headers")
add ARPHDR_VSOCKMON from linux v4.12 2017年11月05日T23:41:14+00:00 Szabolcs Nagy nsz@port70.net 2017年07月09日T18:51:36+00:00 4c811227110ddeb1ccd03ce295a6e8f6ccb905ea new in linux commit 531b374834c891ae2abf800693074df35a7d1a36
new in linux commit 531b374834c891ae2abf800693074df35a7d1a36
add missing if_arp.h constant 2016年10月20日T20:55:51+00:00 Daniel Sabogal dsabogalcc@gmail.com 2016年09月05日T02:30:42+00:00 79c7ded0edaa0b3ab3fc95bf3b76a9e67683454a ARPHRD_6LOWPAN (IPv6 over LoWPAN) added in linux 3.14 commit 0abc652c796dab74d34d60473ec5594cd21620be
ARPHRD_6LOWPAN (IPv6 over LoWPAN) added in
linux 3.14 commit 0abc652c796dab74d34d60473ec5594cd21620be
fix ifru_data and ifcu_buf types in net/if.h 2016年09月16日T21:59:54+00:00 Daniel Sabogal dsabogalcc@gmail.com 2016年09月16日T17:34:24+00:00 3848a99f65952a77c03bbd905cae988f37f13ea6 glibc, freebsd, and openbsd use character pointers (caddr_t) for these fields. only linux uses void pointer for the ifru_data type.
glibc, freebsd, and openbsd use character pointers (caddr_t) for
these fields. only linux uses void pointer for the ifru_data type.
make brace placement in public header struct definitions consistent 2016年07月03日T19:02:25+00:00 Rich Felker dalias@aerifal.cx 2016年07月03日T18:40:11+00:00 befa5866ee30d09c0c96e88af2eabff5911342ea placing the opening brace on the same line as the struct keyword/tag is the style I prefer and seems to be the prevailing practice in more recent additions. these changes were generated by the command: find include/ arch/*/bits -name '*.h' \ -exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} + and subsequently checked by hand to ensure that the regex did not pick up any false positives.
placing the opening brace on the same line as the struct keyword/tag
is the style I prefer and seems to be the prevailing practice in more
recent additions.
these changes were generated by the command:
find include/ arch/*/bits -name '*.h' \
-exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} +
and subsequently checked by hand to ensure that the regex did not pick
up any false positives.
net/if_arp.h: add missing ARP hardware identifiers from linux uapi headers 2013年09月15日T02:42:29+00:00 Szabolcs Nagy nsz@port70.net 2013年09月15日T02:42:29+00:00 2607e39a04b50b8072227db1e08542d6659b927f the removed ARPHRD_IEEE802154_PHY was only present in the kernel api in v2.6.31 (by accident), but it got into the glibc headers (in 2009) and remained there since this header was not updated since then.
the removed ARPHRD_IEEE802154_PHY was only present in the kernel api
in v2.6.31 (by accident), but it got into the glibc headers (in 2009)
and remained there since this header was not updated since then.
net/if.h: add some missing IFF_ constants 2013年04月05日T17:26:23+00:00 rofl0r retnyg@gmx.net 2013年04月05日T16:57:06+00:00 5ffe4940507110f6d0220496cdfc411b8b89aa3d
fix some obscure header type size/alignment issues 2013年03月04日T22:05:45+00:00 Rich Felker dalias@aerifal.cx 2013年03月04日T22:05:45+00:00 8c741783fc96d559cfe79301c924c217b2905c0c
default features: make musl usable without feature test macros 2012年09月08日T03:13:55+00:00 Rich Felker dalias@aerifal.cx 2012年09月08日T03:13:55+00:00 c1a9658bd19245ff0fb52d3da567815d822fb622 the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
the old behavior of exposing nothing except plain ISO C can be
obtained by defining __STRICT_ANSI__ or using a compiler option (such
as -std=c99) that predefines it. the new default featureset is POSIX
with XSI plus _BSD_SOURCE. any explicit feature test macros will
inhibit the default.
installation docs have also been updated to reflect this change.

AltStyle によって変換されたページ (->オリジナル) /