flexda_ucc_update_packet_source_port
接口描述
修改RoCE报文的源端口号。
接口类型
UCC LIB API
参数说明
无
用户调用该接口后,source_port接口会修改为当前source_port+1。由于QPC中udp_source_port仅占8位,当source_port+1超过255,将会把source_port修改为(source_port + 1 - 255)。
该接口修改了source_port端口,连续多次调用该接口,会导致报文乱序丢包,重传次数超过限制会发生断流。
使用示例
flexda_ucc_update_packet_source_port();
返回值
无
父主题: UCC编程框架LIB接口