Typedef anjay_nidd_driver_incoming_mtu_t

Typedef Documentation

typedef int anjay_nidd_driver_incoming_mtu_t(anjay_nidd_driver_t *driver, size_t *out_mtu)

Obtains the MTU of incoming NIDD packets.

NOTE: You may specify only one of the outgoing_mtu and incoming_mtu callbacks and leave the other as NULL. In that case that one MTU value will be used for both directions.

Param driver:

Device driver context to operate on.

Param out_mtu:

Pointer where the MTU shall be stored.

Return:

0 on success, negative value in case of an error.