{"push_id":2875193351,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"6c83ceb3f8665c3d8e83be8256387734dc358fe6","before":"a067ea289dfe612c1aea4f4216dac0804c7c04bb","commits":[{"sha":"16c0a66c7d3243e844398c579611834c9ca4e904","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"network_linux: add netns_getifaddrs()\n\nThis commit introduces my concept of a network namespace aware\ngetifaddrs(), i.e. netns_getifaddrs(). This presupposes a kernel that\ncarries my IF{L}A_TARGET_NETNSID patches:\n\nstruct netns_ifaddrs {\n\tstruct netns_ifaddrs *ifa_next;\n\n\t// Can - but shouldn't be - NULL.\n\tchar *ifa_name;\n\n\t// This field is not present struct ifaddrs\n\tint ifa_ifindex;\n\n\tunsigned ifa_flags;\n\n\t// This field is not present struct ifaddrs\n\tint ifa_mtu;\n\n\t// This field is not present struct ifaddrs\n\tint ifa_prefixlen;\n\n\tstruct sockaddr *ifa_addr;\n\tstruct sockaddr *ifa_netmask;\n\tunion {\n\t\tstruct sockaddr *ifu_broadaddr;\n\t\tstruct sockaddr *ifu_dstaddr;\n\t} ifa_ifu;\n\n\t// If you don't know what this is for don't touch it.\n\tvoid *ifa_data;\n};\n\nwhich is a superset of struct ifaddrs. It contains additional\ninformation such as the mtu, ifindex of the interface and the prefix\nlength of the address.\nNote that the field ordering is different. So don't get any ideas of\nusing memcpy() to copy from an old struct ifaddrs into a struct\nnetns_ifaddrs.\n\nint netns_getifaddrs(struct netns_ifaddrs **ifap, __s32 netns_id,\n                     bool *netnsid_aware)\n\ntakes a network namespace identifier as argument which identifies the\ntarget network namespace.\nIf successfull, i.e. netns_getifaddrs() returns 0, callers should check\nthe bool *netnsid_aware return argument. If it is true then\nRTM_GET{ADDR,LINK} requests are fully netnsid aware. If it is false then\nthey are not and the information returned in struct netns_ifaddrs does\n*not* contain correct information about the target network namespace\nidentified by netnsid.\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":true,"url":"https://api.github.com/repos/atxwebs/lxd/commits/16c0a66c7d3243e844398c579611834c9ca4e904"},{"sha":"3168821a774421a08aa892dd8044914fb45bd89e","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"main_checkfeature: check kernel for netnsid support\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":true,"url":"https://api.github.com/repos/atxwebs/lxd/commits/3168821a774421a08aa892dd8044914fb45bd89e"},{"sha":"6e636b6101223e0fc7dc18fddd721431990ae387","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"network: add NetworkGetCounters()\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":true,"url":"https://api.github.com/repos/atxwebs/lxd/commits/6e636b6101223e0fc7dc18fddd721431990ae387"},{"sha":"d1c91e4a856c190b256b11eff7acc7850362f863","author":{"name":"Christian Brauner","email":"48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com"},"message":"container_lxc: switch to NetnsGetifaddrs()\n\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","distinct":true,"url":"https://api.github.com/repos/atxwebs/lxd/commits/d1c91e4a856c190b256b11eff7acc7850362f863"},{"sha":"6c83ceb3f8665c3d8e83be8256387734dc358fe6","author":{"name":"Stéphane Graber","email":"089afc6d81f66f1168a9849e15660feae286e024@stgraber.org"},"message":"Merge pull request #5004 from brauner/2018-09-06/netns_getifaddrs\n\nnetwork: add netns_getifaddrs()","distinct":true,"url":"https://api.github.com/repos/atxwebs/lxd/commits/6c83ceb3f8665c3d8e83be8256387734dc358fe6"}]}
{"actor":{"display_login":"pull"}}