/linux/drivers/staging/rtl8192u/ |
A D | r8180_93cx6.c | 108 short addr_str[8]; in eprom_read() local 122 addr_str[7] = addr & 1; in eprom_read() 123 addr_str[6] = addr & BIT(1); in eprom_read() 124 addr_str[5] = addr & BIT(2); in eprom_read() 125 addr_str[4] = addr & BIT(3); in eprom_read() 126 addr_str[3] = addr & BIT(4); in eprom_read() 127 addr_str[2] = addr & BIT(5); in eprom_read() 128 addr_str[1] = addr & BIT(6); in eprom_read() 129 addr_str[0] = addr & BIT(7); in eprom_read() 132 addr_str[5] = addr & 1; in eprom_read() [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | network_helpers.c | 109 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server() argument 115 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_server() 122 int *start_reuseport_server(int family, int type, const char *addr_str, in start_reuseport_server() argument 133 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_reuseport_server() 313 int make_sockaddr(int family, const char *addr_str, __u16 port, in make_sockaddr() argument 322 if (addr_str && in make_sockaddr() 323 inet_pton(AF_INET, addr_str, &sin->sin_addr) != 1) { in make_sockaddr() 324 log_err("inet_pton(AF_INET, %s)", addr_str); in make_sockaddr() 336 if (addr_str && in make_sockaddr() 337 inet_pton(AF_INET6, addr_str, &sin6->sin6_addr) != 1) { in make_sockaddr() [all …]
|
A D | network_helpers.h | 45 int *start_reuseport_server(int family, int type, const char *addr_str, 54 int make_sockaddr(int family, const char *addr_str, __u16 port,
|
/linux/tools/testing/selftests/net/ |
A D | reuseport_addr_any.c | 35 const char *addr_str) in build_rcv_fd() argument 47 if (!addr_str) in build_rcv_fd() 49 else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) in build_rcv_fd() 50 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd() 57 if (!addr_str) in build_rcv_fd() 59 else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) in build_rcv_fd() 60 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd() 222 const char *addr_str) in run_one_test() argument 235 build_rcv_fd(fam_rcv, proto, rcv_fds + 4, 1, addr_str); in run_one_test()
|
A D | ipsec.c | 340 char addr_str[IPV4_STR_SZ] = {}; in ip4_addr_set() local 342 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1); in ip4_addr_set() 344 printk("ip addr set %s", addr_str); in ip4_addr_set()
|
/linux/arch/arm/mach-orion5x/ |
A D | tsx09-common.c | 80 static int __init qnap_tsx09_check_mac_addr(const char *addr_str) in qnap_tsx09_check_mac_addr() argument 91 if (addr_str[(i * 3) + 2] != ((i < 5) ? ':' : '\n')) in qnap_tsx09_check_mac_addr() 94 byte = qnap_tsx09_parse_hex_byte(addr_str + (i * 3)); in qnap_tsx09_check_mac_addr()
|
/linux/tools/perf/util/ |
A D | trace-event-parse.c | 130 char *addr_str; in parse_ftrace_printk() local 135 addr_str = strtok_r(line, ":", &fmt); in parse_ftrace_printk() 136 if (!addr_str) { in parse_ftrace_printk() 140 addr = strtoull(addr_str, NULL, 16); in parse_ftrace_printk()
|
/linux/drivers/staging/wfx/ |
A D | traces.h | 247 __array(u8, addr_str, 10) 257 snprintf(__entry->addr_str, 10, "/%08x", addr); 259 __entry->addr_str[0] = 0; 263 __entry->addr_str, 289 __array(u8, addr_str, 10) 296 snprintf(__entry->addr_str, 10, "/%08x", addr); 298 __entry->addr_str[0] = 0; 302 __entry->addr_str,
|
/linux/fs/nfsd/ |
A D | nfs4layouts.c | 611 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_cb_layout_fail() local 622 rpc_ntop((struct sockaddr *)&clp->cl_addr, addr_str, sizeof(addr_str)); in nfsd4_cb_layout_fail() 626 " Fencing..\n", addr_str); in nfsd4_cb_layout_fail() 629 argv[1] = addr_str; in nfsd4_cb_layout_fail() 637 addr_str, error); in nfsd4_cb_layout_fail()
|
A D | nfs4state.c | 3111 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_exchange_id() local 3117 rpc_ntop(sa, addr_str, sizeof(addr_str)); in nfsd4_exchange_id() 3121 addr_str, exid->flags, exid->spa_how); in nfsd4_exchange_id()
|
/linux/drivers/s390/net/ |
A D | qeth_l3_sys.c | 374 char addr_str[40]; in qeth_l3_dev_ipato_add_show() local 381 addr_str); in qeth_l3_dev_ipato_add_show() 392 "%s/%i\n", addr_str, ipatoe->mask_bits); in qeth_l3_dev_ipato_add_show() 595 char addr_str[40]; in qeth_l3_dev_ip_add_show() local 602 addr_str); in qeth_l3_dev_ip_add_show() 611 addr_str); in qeth_l3_dev_ip_add_show()
|
/linux/net/tipc/ |
A D | bearer.c | 111 char addr_str[MAX_ADDR_STR]; in tipc_media_addr_printf() local 117 if (m && !m->addr2str(a, addr_str, sizeof(addr_str))) in tipc_media_addr_printf() 118 ret = scnprintf(buf, len, "%s(%s)", m->name, addr_str); in tipc_media_addr_printf()
|
/linux/drivers/infiniband/ulp/srpt/ |
A D | ib_srpt.c | 3634 char addr_str[64]; in srpt_create_rdma_id() local 3636 snprintf(addr_str, sizeof(addr_str), "%pISp", listen_addr); in srpt_create_rdma_id() 3638 addr_str, ret); in srpt_create_rdma_id()
|
/linux/net/ceph/ |
A D | messenger.c | 158 static char addr_str[ADDR_STR_COUNT][MAX_ADDR_STR_LEN]; variable 172 s = addr_str[i]; in ceph_pr_addr()
|