Lines Matching refs:can_addr
76 struct sockaddr_can can_addr; in create_socket() local
85 can_addr.can_ifindex = net_if_get_by_iface( in create_socket()
87 can_addr.can_family = PF_CAN; in create_socket()
89 ret = bind(fd, (struct sockaddr *)&can_addr, sizeof(can_addr)); in create_socket()
109 struct sockaddr_can can_addr; in rx() local
121 addr_len = sizeof(can_addr); in rx()
124 0, (struct sockaddr *)&can_addr, &addr_len); in rx()
173 struct sockaddr_can can_addr; in setup_socket() local
193 can_addr.can_ifindex = net_if_get_by_iface(iface); in setup_socket()
194 can_addr.can_family = PF_CAN; in setup_socket()
196 ret = bind(fd, (struct sockaddr *)&can_addr, sizeof(can_addr)); in setup_socket()