
B–61863E–1/06
2. PMC SYSTEM CALLPMC LIBRARY
173
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
os_mark_pkt
[Description]
Marks the received packet.
[Format]
ret = os_mark_pkt(task_id,mark_number) ;
unsigned short ret ;
unsigned char task_id ;
unsigned char *mark_number ;
[Input]
task_id Specified task ID (0 or 10 to 25)
For 0, the packet that arrived at the local task is
marked.
[Output]
mark_number
[Returns]
ret Completion code
0 ; The packet has been marked normally.
0104H ; The specified task ID is out of range (0 or 10 to 99).
010CH ; There is no specified task.
[Remarks]
The packets in the specified packet queue are marked. The number
of packets in the packet queue is returned to mark_number.
mark_number is used to differentiate the packets that arrived before
this function was issued from those that arrived after this function was
issued.
2.31
MARKING THE
PACKET