/openbmc/ipmitool/src/plugins/open/ |
H A D | open.c | 127 if (intf->my_addr != 0) { in ipmi_openipmi_open() 128 if (intf->set_my_addr(intf, intf->my_addr) < 0) { in ipmi_openipmi_open() 133 intf->my_addr ); in ipmi_openipmi_open() 147 intf->my_addr = addr; in ipmi_openipmi_set_my_addr() 209 intf->target_addr != intf->my_addr) { in ipmi_openipmi_send_cmd() 216 intf->target_addr,intf->target_channel, intf->my_addr); in ipmi_openipmi_send_cmd() 218 if(intf->transit_addr != 0 && intf->transit_addr != intf->my_addr) { in ipmi_openipmi_send_cmd() 227 intf->my_addr in ipmi_openipmi_send_cmd() 379 if(intf->transit_addr != 0 && intf->transit_addr != intf->my_addr) { in ipmi_openipmi_send_cmd() 442 .my_addr = IPMI_BMC_SLAVE_ADDR,
|
/openbmc/linux/net/rds/ |
H A D | tcp_listen.c | 107 struct in6_addr *my_addr, *peer_addr; in rds_tcp_accept_one() local 145 my_addr = &new_sock->sk->sk_v6_rcv_saddr; in rds_tcp_accept_one() 150 my_addr = &saddr; in rds_tcp_accept_one() 155 my_addr, ntohs(inet->inet_sport), in rds_tcp_accept_one() 163 if ((ipv6_addr_type(my_addr) & IPV6_ADDR_LINKLOCAL) && in rds_tcp_accept_one() 181 my_addr, peer_addr, in rds_tcp_accept_one()
|
/openbmc/ipmitool/src/ |
H A D | ipmishell.c | 375 uint8_t my_addr = 0; in ipmi_set_main() local 376 if (str2uchar(argv[1], &my_addr) != 0) { in ipmi_set_main() 381 intf->my_addr = my_addr; in ipmi_set_main() 382 printf("Set local IPMB address to 0x%02x\n", intf->my_addr); in ipmi_set_main()
|
/openbmc/linux/drivers/edac/ |
H A D | ti_edac.c | 206 u32 addr, my_addr; in _emif_get_id() local 210 my_addr = (u32)of_translate_address(node, addrp); in _emif_get_id() 221 addr, my_addr); in _emif_get_id() 223 if (addr < my_addr) in _emif_get_id()
|
/openbmc/ipmitool/src/plugins/ |
H A D | ipmi_intf.c | 509 if (intf->target_addr && intf->target_addr != intf->my_addr) { in ipmi_intf_get_max_request_data_size() 516 if (intf->target_addr && intf->target_addr != intf->my_addr) { in ipmi_intf_get_max_request_data_size() 566 if (intf->target_addr && intf->target_addr != intf->my_addr) { in ipmi_intf_get_max_response_data_size() 573 if (intf->target_addr && intf->target_addr != intf->my_addr) { in ipmi_intf_get_max_response_data_size()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_main.c | 913 ipmi_main_intf->my_addr = arg_addr ? arg_addr : IPMI_BMC_SLAVE_ADDR; in ipmi_main() 943 if (addr != 0 && addr != ipmi_main_intf->my_addr) { in ipmi_main() 953 ipmi_main_intf->my_addr = addr; in ipmi_main() 956 ipmi_main_intf->target_addr = ipmi_main_intf->my_addr; in ipmi_main() 998 ipmi_main_intf->my_addr, in ipmi_main()
|
H A D | ipmi_kontronoem.c | 136 if (intf->target_addr > 0 && (intf->target_addr != intf->my_addr)) { in ipmi_kontronoem_set_large_buffer() 137 intf->target_addr = intf->my_addr; in ipmi_kontronoem_set_large_buffer() 160 if (intf->target_addr > 0 && (intf->target_addr != intf->my_addr)) { in ipmi_kontronoem_set_large_buffer() 162 intf->target_addr = intf->my_addr; in ipmi_kontronoem_set_large_buffer()
|
H A D | ipmi_vita.c | 189 intf->my_addr, intf->transit_addr, intf->target_addr); in vita_discover()
|
H A D | ipmi_fwum.c | 513 && (intf->target_addr != intf->my_addr)) { in KfwumGetInfo()
|
/openbmc/linux/net/ceph/ |
H A D | messenger_v2.c | 1480 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_client_ident() local 1503 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), in prepare_client_ident() 1508 ctrl_len = 1 + 4 + ceph_entity_addr_encoding_len(my_addr) + in prepare_client_ident() 1517 ceph_encode_entity_addr(&p, my_addr); in prepare_client_ident() 1532 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in prepare_session_reconnect() local 1542 __func__, con, ceph_pr_addr(my_addr), le32_to_cpu(my_addr->nonce), in prepare_session_reconnect() 1546 ctrl_len = 1 + 4 + ceph_entity_addr_encoding_len(my_addr) + 5 * 8; in prepare_session_reconnect() 1554 ceph_encode_entity_addr(&p, my_addr); in prepare_session_reconnect() 2227 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_hello() local 2260 if (ceph_addr_is_blank(my_addr)) { in process_hello() [all …]
|
H A D | messenger_v1.c | 703 struct ceph_entity_addr *my_addr = &con->msgr->inst.addr; in process_banner() local 731 if (ceph_addr_is_blank(my_addr)) { in process_banner() 732 memcpy(&my_addr->in_addr, in process_banner() 735 ceph_addr_set_port(my_addr, 0); in process_banner() 738 ceph_pr_addr(my_addr)); in process_banner()
|
H A D | ceph_common.c | 434 &opt->my_addr, 1, NULL, ','); in ceph_parse_param() 737 myaddr = &client->options->my_addr; in ceph_create_client()
|
/openbmc/ipmitool/src/plugins/serial/ |
H A D | serial_terminal.c | 477 if (intf->target_addr && intf->target_addr != intf->my_addr) { in serial_term_build_msg() 512 outer_rq->msg.rqSA = intf->my_addr; in serial_term_build_msg() 528 inner_rq->msg.rqSA = intf->my_addr; in serial_term_build_msg()
|
H A D | serial_basic.c | 617 if (intf->target_addr && intf->target_addr != intf->my_addr) { in serial_bm_build_msg() 650 outer_rq->msg.rqSA = intf->my_addr; in serial_bm_build_msg() 666 inner_rq->msg.rqSA = intf->my_addr; in serial_bm_build_msg()
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | lan.c | 459 uint8_t our_address = intf->my_addr; in ipmi_lan_poll_recv() 708 uint8_t our_address = intf->my_addr; in ipmi_lan_build_cmd() 749 if (intf->transit_addr != intf->my_addr && intf->transit_addr != 0) in ipmi_lan_build_cmd() 788 (intf->transit_addr != intf->my_addr && intf->transit_addr != 0 ? 8 : 0); in ipmi_lan_build_cmd() 801 if (intf->transit_addr == intf->my_addr || intf->transit_addr == 0) { in ipmi_lan_build_cmd() 812 msg[len++] = intf->my_addr; in ipmi_lan_build_cmd() 831 msg[len++] = intf->my_addr; in ipmi_lan_build_cmd() 863 if (intf->transit_addr != intf->my_addr && intf->transit_addr != 0) { in ipmi_lan_build_cmd()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_intf.h | 185 uint32_t my_addr; member
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_nl.c | 213 adm_ctx->my_addr = nested_attr_tb[__nla_type(T_ctx_my_addr)]; in drbd_adm_prepare() 215 if ((adm_ctx->my_addr && in drbd_adm_prepare() 216 nla_len(adm_ctx->my_addr) > sizeof(adm_ctx->connection->my_addr)) || in drbd_adm_prepare() 257 if (adm_ctx->my_addr && adm_ctx->peer_addr) in drbd_adm_prepare() 258 adm_ctx->connection = conn_get_by_addrs(nla_data(adm_ctx->my_addr), in drbd_adm_prepare() 259 nla_len(adm_ctx->my_addr), in drbd_adm_prepare() 2526 if (!(adm_ctx.my_addr && adm_ctx.peer_addr)) { in drbd_adm_connect() 2537 if (nla_len(adm_ctx.my_addr) == connection->my_addr_len && in drbd_adm_connect() 2538 !memcmp(nla_data(adm_ctx.my_addr), &connection->my_addr, in drbd_adm_connect() 2605 connection->my_addr_len = nla_len(adm_ctx.my_addr); in drbd_adm_connect() [all …]
|
H A D | drbd_int.h | 635 struct sockaddr_storage my_addr; member 927 struct nlattr *my_addr; member 1381 extern struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len,
|
H A D | drbd_receiver.c | 611 memcpy(&src_in6, &connection->my_addr, my_addr_len); in drbd_try_connect() 613 if (((struct sockaddr *)&connection->my_addr)->sa_family == AF_INET6) in drbd_try_connect() 698 struct sockaddr_in6 my_addr; in prepare_listen_socket() local 714 memcpy(&my_addr, &connection->my_addr, my_addr_len); in prepare_listen_socket() 717 err = sock_create_kern(&init_net, ((struct sockaddr *)&my_addr)->sa_family, in prepare_listen_socket() 728 err = s_listen->ops->bind(s_listen, (struct sockaddr *)&my_addr, my_addr_len); in prepare_listen_socket()
|
H A D | drbd_main.c | 2433 struct drbd_connection *conn_get_by_addrs(void *my_addr, int my_addr_len, in conn_get_by_addrs() argument 2444 !memcmp(&connection->my_addr, my_addr, my_addr_len) && in conn_get_by_addrs()
|
/openbmc/ipmitool/src/plugins/dummy/ |
H A D | dummy.c | 281 .my_addr = IPMI_BMC_SLAVE_ADDR,
|
/openbmc/linux/include/linux/ceph/ |
H A D | libceph.h | 50 struct ceph_entity_addr my_addr; member
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | lanplus.c | 1352 uint8_t ourAddress = intf->my_addr; in getIpmiPayloadWireRep() 1417 intf->my_addr, intf->transit_addr, intf->transit_channel, in getIpmiPayloadWireRep() 1439 msg[len++] = intf->my_addr; in getIpmiPayloadWireRep() 1886 if ((intf->target_addr == intf->my_addr) || (!bridgePossible)) { in ipmi_lanplus_build_v2x_ipmi_cmd() 1900 intf->transit_addr != intf->my_addr) in ipmi_lanplus_build_v2x_ipmi_cmd()
|
/openbmc/linux/Documentation/networking/ |
H A D | packet_mmap.rst | 152 struct sockaddr_ll my_addr; 162 my_addr.sll_family = AF_PACKET; 163 my_addr.sll_protocol = htons(ETH_P_ALL); 164 my_addr.sll_ifindex = s_ifr.ifr_ifindex; 167 bind(this->socket, (struct sockaddr *)&my_addr, sizeof(struct sockaddr_ll));
|
/openbmc/linux/net/ax25/ |
H A D | af_ax25.c | 199 struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr, in ax25_get_socket() argument 207 if (s->sk && !ax25cmp(&s->source_addr, my_addr) && in ax25_get_socket()
|