Hello Vijay,
As Angel commented, you can find MAC application examples on how to associate end devices to a coordinator and you can also find some peer-to-peer examples using SMAC.
If you still require to use MAC to send P2P messages between 2 devices, you must manually configure the communication parameters that the MAC is going to use (PAN Information Base - PIBs): PAN ID, Short Address, Logical Channel, RxOnWhenIdle = TRUE. Then use the MCPS-DATA.Request command to send data to a known remote host.
You can find attached a modified App file that works with "MyWirelessApp (EndDevice) " demo (Freescale Kinetis KW2xD IEEE® 802.15.4 Software - Rev 5.0.3), you just require to substitute the original "App.c" of the example project. I'd recommend to take a look into the modifications marked with "\\@P2P". There is a "DEVICE" macro that will let you configure your project as Device1 or Device2, it will let you differentiate the src and dst addresses depending on the device.
Regards,
JC