mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 07:10:23 +01:00
- name things related to `in_addr_t`, `struct in6_addr`, `NMIPAddr` as
`nm_ip4_addr_*()`, `nm_ip6_addr_*()`, `nm_ip_addr_*()`, respectively.
- we have a wrapper `nm_inet_ntop()` for `inet_ntop()`. This name
of our wrapper is chosen to be familiar with the libc underlying
function. With this, also name functions that are about string
representations of addresses `nm_inet_*()`, `nm_inet4_*()`,
`nm_inet6_*()`. For example, `nm_inet_parse_str()`,
`nm_inet_is_normalized()`.
<<<<
R() {
git grep -l "$1" | xargs sed -i "s/\<$1\>/$2/g"
}
R NM_CMP_DIRECT_IN4ADDR_SAME_PREFIX NM_CMP_DIRECT_IP4_ADDR_SAME_PREFIX
R NM_CMP_DIRECT_IN6ADDR_SAME_PREFIX NM_CMP_DIRECT_IP6_ADDR_SAME_PREFIX
R NM_UTILS_INET_ADDRSTRLEN NM_INET_ADDRSTRLEN
R _nm_utils_inet4_ntop nm_inet4_ntop
R _nm_utils_inet6_ntop nm_inet6_ntop
R _nm_utils_ip4_get_default_prefix nm_ip4_addr_get_default_prefix
R _nm_utils_ip4_get_default_prefix0 nm_ip4_addr_get_default_prefix0
R _nm_utils_ip4_netmask_to_prefix nm_ip4_addr_netmask_to_prefix
R _nm_utils_ip4_prefix_to_netmask nm_ip4_addr_netmask_from_prefix
R nm_utils_inet4_ntop_dup nm_inet4_ntop_dup
R nm_utils_inet6_ntop_dup nm_inet6_ntop_dup
R nm_utils_inet_ntop nm_inet_ntop
R nm_utils_inet_ntop_dup nm_inet_ntop_dup
R nm_utils_ip4_address_clear_host_address nm_ip4_addr_clear_host_address
R nm_utils_ip4_address_is_link_local nm_ip4_addr_is_link_local
R nm_utils_ip4_address_is_loopback nm_ip4_addr_is_loopback
R nm_utils_ip4_address_is_zeronet nm_ip4_addr_is_zeronet
R nm_utils_ip4_address_same_prefix nm_ip4_addr_same_prefix
R nm_utils_ip4_address_same_prefix_cmp nm_ip4_addr_same_prefix_cmp
R nm_utils_ip6_address_clear_host_address nm_ip6_addr_clear_host_address
R nm_utils_ip6_address_same_prefix nm_ip6_addr_same_prefix
R nm_utils_ip6_address_same_prefix_cmp nm_ip6_addr_same_prefix_cmp
R nm_utils_ip6_is_ula nm_ip6_addr_is_ula
R nm_utils_ip_address_same_prefix nm_ip_addr_same_prefix
R nm_utils_ip_address_same_prefix_cmp nm_ip_addr_same_prefix_cmp
R nm_utils_ip_is_site_local nm_ip_addr_is_site_local
R nm_utils_ipaddr_is_normalized nm_inet_is_normalized
R nm_utils_ipaddr_is_valid nm_inet_is_valid
R nm_utils_ipx_address_clear_host_address nm_ip_addr_clear_host_address
R nm_utils_parse_inaddr nm_inet_parse_str
R nm_utils_parse_inaddr_bin nm_inet_parse_bin
R nm_utils_parse_inaddr_bin_full nm_inet_parse_bin_full
R nm_utils_parse_inaddr_prefix nm_inet_parse_with_prefix_str
R nm_utils_parse_inaddr_prefix_bin nm_inet_parse_with_prefix_bin
R test_nm_utils_ip6_address_same_prefix test_nm_ip_addr_same_prefix
./contrib/scripts/nm-code-format.sh -F
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-editor-bindings.c | ||
| nm-editor-bindings.h | ||
| nm-editor-utils.c | ||
| nm-editor-utils.h | ||
| nmt-address-list.c | ||
| nmt-address-list.h | ||
| nmt-connect-connection-list.c | ||
| nmt-connect-connection-list.h | ||
| nmt-device-entry.c | ||
| nmt-device-entry.h | ||
| nmt-edit-connection-list.c | ||
| nmt-edit-connection-list.h | ||
| nmt-editor-grid.c | ||
| nmt-editor-grid.h | ||
| nmt-editor-page-device.c | ||
| nmt-editor-page-device.h | ||
| nmt-editor-page.c | ||
| nmt-editor-page.h | ||
| nmt-editor-section.c | ||
| nmt-editor-section.h | ||
| nmt-editor.c | ||
| nmt-editor.h | ||
| nmt-ip-entry.c | ||
| nmt-ip-entry.h | ||
| nmt-mac-entry.c | ||
| nmt-mac-entry.h | ||
| nmt-mtu-entry.c | ||
| nmt-mtu-entry.h | ||
| nmt-page-bond-port.c | ||
| nmt-page-bond-port.h | ||
| nmt-page-bond.c | ||
| nmt-page-bond.h | ||
| nmt-page-bridge-port.c | ||
| nmt-page-bridge-port.h | ||
| nmt-page-bridge.c | ||
| nmt-page-bridge.h | ||
| nmt-page-dsl.c | ||
| nmt-page-dsl.h | ||
| nmt-page-ethernet.c | ||
| nmt-page-ethernet.h | ||
| nmt-page-infiniband.c | ||
| nmt-page-infiniband.h | ||
| nmt-page-ip-tunnel.c | ||
| nmt-page-ip-tunnel.h | ||
| nmt-page-ip4.c | ||
| nmt-page-ip4.h | ||
| nmt-page-ip6.c | ||
| nmt-page-ip6.h | ||
| nmt-page-ppp.c | ||
| nmt-page-ppp.h | ||
| nmt-page-team-port.c | ||
| nmt-page-team-port.h | ||
| nmt-page-team.c | ||
| nmt-page-team.h | ||
| nmt-page-vlan.c | ||
| nmt-page-vlan.h | ||
| nmt-page-wifi.c | ||
| nmt-page-wifi.h | ||
| nmt-page-wireguard.c | ||
| nmt-page-wireguard.h | ||
| nmt-password-dialog.c | ||
| nmt-password-dialog.h | ||
| nmt-password-fields.c | ||
| nmt-password-fields.h | ||
| nmt-route-editor.c | ||
| nmt-route-editor.h | ||
| nmt-route-entry.c | ||
| nmt-route-entry.h | ||
| nmt-route-table.c | ||
| nmt-route-table.h | ||
| nmt-slave-list.c | ||
| nmt-slave-list.h | ||
| nmt-utils.c | ||
| nmt-utils.h | ||
| nmt-widget-list.c | ||
| nmt-widget-list.h | ||
| nmt-wireguard-peer-editor.c | ||
| nmt-wireguard-peer-editor.h | ||
| nmt-wireguard-peer-list.c | ||
| nmt-wireguard-peer-list.h | ||
| nmtui-connect.c | ||
| nmtui-connect.h | ||
| nmtui-edit.c | ||
| nmtui-edit.h | ||
| nmtui-hostname.c | ||
| nmtui-hostname.h | ||
| nmtui.c | ||
| nmtui.h | ||
| README.md | ||