Home
last modified time | relevance | path

Searched refs:af (Results 1 – 13 of 13) sorted by relevance

/Zephyr-Core-2.7.6/tests/net/tcp2/src/
Dmain.c122 static void handle_client_test(sa_family_t af, struct tcphdr *th);
123 static void handle_server_test(sa_family_t af, struct tcphdr *th);
125 static void handle_client_fin_wait_2_test(sa_family_t af, struct tcphdr *th);
126 static void handle_client_closing_test(sa_family_t af, struct tcphdr *th);
216 static struct net_pkt *tester_prepare_tcp_pkt(sa_family_t af, in tester_prepare_tcp_pkt() argument
236 af, IPPROTO_TCP, K_NO_WAIT); in tester_prepare_tcp_pkt()
242 if (af == AF_INET) { in tester_prepare_tcp_pkt()
244 } else if (af == AF_INET6) { in tester_prepare_tcp_pkt()
301 if (af == AF_INET) { in tester_prepare_tcp_pkt()
303 } else if (af == AF_INET6) { in tester_prepare_tcp_pkt()
[all …]
/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/
Dieee802154_frame.c635 struct ieee802154_address_field *af; in generate_addressing_fields() local
639 af = (struct ieee802154_address_field *)p_buf; in generate_addressing_fields()
640 af->plain.pan_id = params->dst.pan_id; in generate_addressing_fields()
643 af->plain.addr.short_addr = in generate_addressing_fields()
648 sys_memcpy_swap(af->plain.addr.ext_addr, in generate_addressing_fields()
660 af = (struct ieee802154_address_field *)p_buf; in generate_addressing_fields()
663 af->plain.pan_id = params->pan_id; in generate_addressing_fields()
664 src_addr = &af->plain.addr; in generate_addressing_fields()
667 src_addr = &af->comp.addr; in generate_addressing_fields()
/Zephyr-Core-2.7.6/subsys/net/ip/
Dtp.c407 static struct net_pkt *tp_output_pkt_alloc(sa_family_t af, in tp_output_pkt_alloc() argument
418 af, IPPROTO_UDP, K_NO_WAIT); in tp_output_pkt_alloc()
429 void _tp_output(sa_family_t af, struct net_if *iface, void *data, in _tp_output() argument
432 struct net_pkt *pkt = tp_output_pkt_alloc(af, iface, data_len, in _tp_output()
580 void tp_out(sa_family_t af, struct net_if *iface, const char *msg, in tp_out() argument
596 tp_output(af, iface, buf, json_len); in tp_out()
Dtp.h119 void _tp_output(sa_family_t af, struct net_if *iface, void *data,
160 void tp_out(sa_family_t af, struct net_if *iface, const char *msg,
Dnet_private.h97 char *net_sprint_addr(sa_family_t af, const void *addr);
Dutils.c28 char *net_sprint_addr(sa_family_t af, const void *addr) in net_sprint_addr() argument
35 return net_addr_ntop(af, addr, s, NET_IPV6_ADDR_LEN); in net_sprint_addr()
Dtcp2.c138 static size_t tcp_endpoint_len(sa_family_t af) in tcp_endpoint_len() argument
140 return (af == AF_INET) ? sizeof(struct sockaddr_in) : in tcp_endpoint_len()
1477 sa_family_t af = net_pkt_family(pkt); in tcp_conn_new() local
1481 ret = net_context_get(af, SOCK_STREAM, IPPROTO_TCP, &context); in tcp_conn_new()
1513 net_sin_ptr(&context->local)->sin_family = af; in tcp_conn_new()
1552 ret = net_conn_register(IPPROTO_TCP, af, in tcp_conn_new()
/Zephyr-Core-2.7.6/drivers/counter/
Dmaxim_ds3231.c679 int af = check_handled_alarms(ds3231); in alarm_worker() local
681 while (af > 0) { in alarm_worker()
685 if ((af & (MAXIM_DS3231_ALARM1 << id)) == 0) { in alarm_worker()
724 af = check_handled_alarms(ds3231); in alarm_worker()
729 if (af < 0) { in alarm_worker()
734 LOG_DBG("ALARM %02x at %u latency %u", af, data->isw_syncclock, in alarm_worker()
/Zephyr-Core-2.7.6/drivers/modem/
Dhl7800.c5121 int af; in configure_TCP_socket() local
5124 af = MDM_HL7800_SOCKET_AF_IPV6; in configure_TCP_socket()
5127 af = MDM_HL7800_SOCKET_AF_IPV4; in configure_TCP_socket()
5137 hl7800_sprint_ip_addr(&sock->dst), dst_port, af); in configure_TCP_socket()
5161 int af; in configure_UDP_socket() local
5167 af = MDM_HL7800_SOCKET_AF_IPV4; in configure_UDP_socket()
5169 af = MDM_HL7800_SOCKET_AF_IPV6; in configure_UDP_socket()
5174 snprintk(cmd, sizeof(cmd), "AT+KUDPCFG=1,0,,,,,%d", af); in configure_UDP_socket()
/Zephyr-Core-2.7.6/boards/arm/stm32f769i_disco/doc/
Dindex.rst37 - Power Over Ethernet based on IEEE 802.3af (Powered Device, 48 V to 5 V, 3 W)
/Zephyr-Core-2.7.6/samples/bluetooth/ipsp/
DREADME.rst69 [bt] [INF] show_dev_info: Identity: cb:af:14:57:d8:6e (random)
/Zephyr-Core-2.7.6/subsys/net/l2/canbus/
D6locan.c43 char *net_sprint_addr(sa_family_t af, const void *addr);
/Zephyr-Core-2.7.6/samples/modules/tflite-micro/hello_world/train/
Dtrain_hello_world_model.ipynb2874 …WwXkS9FZJWIWDtjGs3aLWu36mu34n4+JonIP/36jvLbqP/126FfxR0fEJGbReQD/719SkS+Hbf/af/9/Mr/rE9Ien9misgLfr3…